2010-07-07 09:10, Kwankyu skrev:
Does Sage have a command to get the mirror image matrix

[3,2,1]
[6,5,4]

from the matrix

[1,2,3]
[4,5,6]


Like this?

sage: m = Matrix([[1,2,3],[4,5,6]])
sage: m
[1 2 3]
[4 5 6]
sage: m2 = m[::, ::-1]
sage: m2
[3 2 1]
[6 5 4]




/ 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