a=matrix([[1,2,3],[0,4,5],[0,0,6]])
print a
a.jordan_form()
b=matrix([[1,1],[-1,-1]])
print b
b.jordan_form()

Strang-427(B)-4-U (last edited 2010-12-18 10:25:34 by sarada)