Comment #3 on issue 3673 by eumod...@gmail.com: Matrices of matrices
http://code.google.com/p/sympy/issues/detail?id=3673

Hi,

if I print the null matrix of the one I mentioned before, namely
A_s = [[2,0,4,4,6],
       [0,0,1,4,2],
       [4,0,8,8,12],
       [6,4,2,12,0]]
A = Matrix(A_s)
A_null = A.nullspace()
Am_null = Matrix(A_null)
print 'A_null', A_null
print 'Am_null', Am_null

The result of the null space computation is a list of column vectors, which I think should translate into a matrix with the respective columns. So it is merely a formatting question or not ? If one puts the matrix into numpy, one gets the transposed of what one expects:


        print 'Am_np_null', NP.matrix(A_null)

A bit tricky if one is not alert.




        print 'Am_np_null', NP.matrix(A_null)

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to