a=matrix([[1,1,1],[1,2,2],[2,3,-4]])
b=matrix([[1,1,1],[1,2,2],[2,3,-4]])
c=vector([6,11,13])
d=vector([7,10,13])
x=a.solve_right(c)
y=b.solve_right(d)
print x
print y

Strang-19_32-U (last edited 2010-12-17 05:00:56 by sarada)