Ch7 problem8 new

383 days ago by semele27

A=matrix(3, 4, [1, -3, -3, 2, 1, 8, -1, 3, 4, -2, 4, 2]) A_T=A.transpose() rA=rank(A) rAT=rank(A_T) print A.rref() print A_T.rref() print rA print rAT print (rA==rAT) 
       
[     1      0      0  14/13]
[     0      1      0   7/39]
[     0      0      1 -19/39]
[1 0 0]
[0 1 0]
[0 0 1]
[0 0 0]
3
3
True
[     1      0      0  14/13]
[     0      1      0   7/39]
[     0      0      1 -19/39]
[1 0 0]
[0 1 0]
[0 0 1]
[0 0 0]
3
3
True