2012-02-26 20:37, Albert skrev:
> I mean for example:

A = matrix(QQ,[[1,2,3],[4,5,6],[7,8,9]])
A.submatrix([1,3],[1,3])
==>  [1,3]
        [7,9]



It seems to me that you want to write:

A[[0,2], [0, 2]]

==>

[1 3]
[7 9]

(Sage Version 5.0.beta5)

/ johan

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to