LA+Chapter7+Ex+8(new)-서승완

2051 days ago by math2013

A=matrix(4,5, [1,-2,2,-4,2,3,8,1,4,4,2,2,6,10,5,-3,4,5,2,-2]) B=A.rref() print B C=A.transpose() print print C print D=C.rref() print D 
       
[       1        0        0        0  217/171]
[       0        1        0        0 -37/1026]
[       0        0        1        0   65/171]
[       0        0        0        1   13/513]

[ 1  3  2 -3]
[-2  8  2  4]
[ 2  1  6  5]
[-4  4 10  2]
[ 2  4  5 -2]

[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]
[0 0 0 0]
[       1        0        0        0  217/171]
[       0        1        0        0 -37/1026]
[       0        0        1        0   65/171]
[       0        0        0        1   13/513]

[ 1  3  2 -3]
[-2  8  2  4]
[ 2  1  6  5]
[-4  4 10  2]
[ 2  4  5 -2]

[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]
[0 0 0 0]