I would do something like this:
sage: m = matrix([[var('x%s%s'%(i,j)) for j in range(2)] for i in range(2)]); m
[x00 x01]
[x10 x11]
sage: m.characteristic_polynomial().polynomial(QQ).subs(x=m)
[0 0]
[0 0]
--Mike
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---