Ch2 problem1

379 days ago by ChoiHansil

A=matrix(3, 3, [1,3,-1,2,5,1,1,1,1]) b=vector([1,5,3]) print A.augment(b,subdivide=True) 
       
[ 1  3 -1| 1]
[ 2  5  1| 5]
[ 1  1  1| 3]
[ 1  3 -1| 1]
[ 2  5  1| 5]
[ 1  1  1| 3]