LA.Ch2.Ex5.NEW.Seongchan

2069 days ago by seongchan

A=matrix([[3,-2,3,4],[1,-3,2,1],[2,1,0,-1], [5,-1,2,3]]) b=vector([-1,2,3,0]) print A.augment(b).rref() 
       
[  1   0   0   0 3/7]
[  0   1   0   0 1/7]
[  0   0   1   0   2]
[  0   0   0   1  -2]
[  1   0   0   0 3/7]
[  0   1   0   0 1/7]
[  0   0   1   0   2]
[  0   0   0   1  -2]