On Wed, 04 Nov 2009 at 01:30PM -0800, q wrote:
> sage: A = matrix([[0, 4], [-1, 0]])
> sage: A.eigenvalues ()

There's a space between "eigenvalues" and "()". Python (and hence Sage)
gets confused by that. Use A.eigenvalues() with no spaces.

Dan

-- 
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

Attachment: signature.asc
Description: Digital signature

Reply via email to