a=matrix([[1,2,3],[2,2,2],[-2,-2,-2]])
print a
b=vector([1,10,100],[0,0,0])
x=a.solve_right(b)
print x

Strang-page17-19-U (last edited 2010-12-17 07:32:30 by tejaswi)