(new book)Ch-2.2-Prob-35-New-황성빈

1899 days ago by matrix

A=matrix([[-3, 0, 1,1],[5, 1, 6,6],[6, 4, 2,4] ]) b=vector([0, 0, 0]) print "[A: b] =" print A.augment(b) print print "RREF([A: b]) =" print A.augment(b).rref() # 행렬 A와 벡터 b의 첨가행렬의 RREF 구하기 
       
[A: b] =
[-3  0  1  1  0]
[ 5  1  6  6  0]
[ 6  4  2  4  0]

RREF([A: b]) =
[    1     0     0 -1/40     0]
[    0     1     0 23/40     0]
[    0     0     1 37/40     0]
[A: b] =
[-3  0  1  1  0]
[ 5  1  6  6  0]
[ 6  4  2  4  0]

RREF([A: b]) =
[    1     0     0 -1/40     0]
[    0     1     0 23/40     0]
[    0     0     1 37/40     0]