Simon King wrote: > Hi Dan! > > On 5 Nov., 00:15, Dan Drake <dr...@kaist.edu> wrote: > ... >> There's a space between "eigenvalues" and "()". Python (and hence Sage) >> gets confused by that. Use A.eigenvalues() with no spaces. > > No, that's not true. On sage.math, it works with the additional space. > sage: A = matrix([[0, 4], [-1, 0]]) > sage: A.eigenvalues () > [-2*I, 2*I] > > So, probably it is really just the vintage sage 3.0.5 >
Yep. I believe this is the relevant patch, showing it went in in 3.1.2: http://trac.sagemath.org/sage_trac/ticket/3794 Jason -- Jason Grout --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---