Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I don't believe so.

sage: [A[z][z] for z in range(A.nrows())]

[3, 6, 7]

could work. But I don't know that this is what you are looking for. Would you find this useful as an attribute? What output would be expected for a non-square matrix?