(다른교재)-exam-7-4-1-New-허재석

1855 days ago by matrix

A=matrix(4,3,[1, -3, -3, 2, 1, 8, -1, 3, 4, -2, 4, 2]) print A.rref() print (A.transpose()).rref() print A.rank() print (A.transpose()).rank() 
       
[1 0 0]
[0 1 0]
[0 0 1]
[0 0 0]
[    1     0     0 -10/7]
[    0     1     0  -2/7]
[    0     0     1     0]
3
3
[1 0 0]
[0 1 0]
[0 0 1]
[0 0 0]
[    1     0     0 -10/7]
[    0     1     0  -2/7]
[    0     0     1     0]
3
3