LA+Chapter2+Ex+2-서승완

2031 days ago by math2013

a=matrix(3,4,[1,1,3,-3,0,2,1,-3,1,0,2,-1]) b=vector([0,3,-1]) print a.augment(b,subdivide=True) 
       
[ 1  1  3 -3| 0]
[ 0  2  1 -3| 3]
[ 1  0  2 -1|-1]
[ 1  1  3 -3| 0]
[ 0  2  1 -3| 3]
[ 1  0  2 -1|-1]