Untitled

2051 days ago by math2013

A=matrix(QQ,4,5,[1,-2,1,1,2,0,1,1,3,4,1,2,5,13,5,-1,3,0,2,-2]) B=A.transpose() print A.echelon_form() print B.echelon_form() print A.rank() print B.rank() print A.rank()==B.rank() 
       
[1 0 3 7 0]
[0 1 1 3 0]
[0 0 0 0 1]
[0 0 0 0 0]
[     1      0      0 -17/13]
[     0      1      0  -3/13]
[     0      0      1   4/13]
[     0      0      0      0]
[     0      0      0      0]
3
3
True
[1 0 3 7 0]
[0 1 1 3 0]
[0 0 0 0 1]
[0 0 0 0 0]
[     1      0      0 -17/13]
[     0      1      0  -3/13]
[     0      0      1   4/13]
[     0      0      0      0]
[     0      0      0      0]
3
3
True