ch.7 ex.6

388 days ago by g1.kjiwon

A=matrix(6,5,[1,2,0,2,5,-2,-5,1,-1,-8,0,-3,3,4,1,3,6,0,-7,2,0,0,0,0,2,0,0,0,-1,0]) B=A.transpose() print B.rref() 
       
[    1     0     0 -63/5     0  -6/5]
[    0     1     0 -39/5     0  -3/5]
[    0     0     1  13/5     0   1/5]
[    0     0     0     0     1   1/2]
[    0     0     0     0     0     0]
[    1     0     0 -63/5     0  -6/5]
[    0     1     0 -39/5     0  -3/5]
[    0     0     1  13/5     0   1/5]
[    0     0     0     0     1   1/2]
[    0     0     0     0     0     0]
A.column_space() 
       
Free module of degree 6 and rank 4 over Integer Ring
Echelon basis matrix:
[  1   0   1 -10   0  -1]
[  0   1   3   0   0   0]
[  0   0   5  13   0   1]
[  0   0   0   0   2   1]
Free module of degree 6 and rank 4 over Integer Ring
Echelon basis matrix:
[  1   0   1 -10   0  -1]
[  0   1   3   0   0   0]
[  0   0   5  13   0   1]
[  0   0   0   0   2   1]