| 1 | initial version |
Given a matrix M, say:
sage: M = matrix(ZZ, [[4, 27, -3], [-3, 2, -1], [-177, 45, 5]])
sage: M
[ 4 27 -3]
[ -3 2 -1]
[-177 45 5]
You can get its entries by doing:
sage: M.coefficients()
[4, 27, -3, -3, 2, -1, -177, 45, 5]
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.