First time here? Check out the FAQ!
answered 2011-03-22 15:28:53 +0100
You can get the dimensions with the nrows and ncols methods:
nrows
ncols
sage: m [0 0 0] [0 0 0] sage: m.nrows() 2 sage: m.ncols() 3