Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can get the dimensions with the nrows and ncols methods:

sage: m
[0 0 0]
[0 0 0]
sage: m.nrows()
2
sage: m.ncols()
3