[sage-support] Re: AttributeError: object has no attribute 'eigenvalues'

2009-11-05 Thread Jason Grout
q wrote: > I'm just going to give up, because doing all this took me many hours, > and I had to learn/try a lot of stuff about working with the command > line that I've never done before. The installation directions are > confusing to someone who doesn't know very much about computers. I > mean, I

[sage-support] Re: AttributeError: object has no attribute 'eigenvalues'

2009-11-05 Thread Jason Grout
q wrote: > Thanks for the replies everyone. > > I tried it, and as someone mentioned, the space between eigenvalues > and () doesn't make a difference. > > So I tried updating. I installed the binary distribution, but got the > "Illegal instruction" error at startup. So I tried the > > rm spkg/

[sage-support] Re: AttributeError: object has no attribute 'eigenvalues'

2009-11-05 Thread q
Thanks for the replies everyone. I tried it, and as someone mentioned, the space between eigenvalues and () doesn't make a difference. So I tried updating. I installed the binary distribution, but got the "Illegal instruction" error at startup. So I tried the rm spkg/installed/mpir* spkg/instal

[sage-support] Re: AttributeError: object has no attribute 'eigenvalues'

2009-11-04 Thread Jason Grout
Dan Drake wrote: > On Wed, 04 Nov 2009 at 04:07PM -0800, Simon King wrote: >> Hi Dan! >> >> On 5 Nov., 00:15, Dan Drake 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.

[sage-support] Re: AttributeError: object has no attribute 'eigenvalues'

2009-11-04 Thread Dan Drake
On Wed, 04 Nov 2009 at 04:07PM -0800, Simon King wrote: > > Hi Dan! > > On 5 Nov., 00:15, Dan Drake 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 w

[sage-support] Re: AttributeError: object has no attribute 'eigenvalues'

2009-11-04 Thread Jason Grout
Simon King wrote: > Hi Dan! > > On 5 Nov., 00:15, Dan Drake 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:

[sage-support] Re: AttributeError: object has no attribute 'eigenvalues'

2009-11-04 Thread Simon King
Hi Dan! On 5 Nov., 00:15, Dan Drake 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]]) sa

[sage-support] Re: AttributeError: object has no attribute 'eigenvalues'

2009-11-04 Thread Dan Drake
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.k

[sage-support] Re: AttributeError: object has no attribute 'eigenvalues'

2009-11-04 Thread Michael Welsh
On 5/11/2009, at 10:30 AM, q wrote: > Can someone please explain this to me? Works fine for me - sage: A = matrix([[0, 4], [-1, 0]]) sage: A [ 0 4] [-1 0] sage: A.eigenvalues sage: A.eigenvalues() [-2*I, 2*I] > > I'm using Ubuntu 9.04, sage version 3.0.5 which I installed from the > synapti