[sage-support] Re: importing Numeric

2006-10-27 Thread David Joyner
Thank you for the suggestions, David and William. The following code seems to fix the eigenvalue bug for real matrices, though the precision is limited by Numeric. import Numeric from LinearAlgebra import eigenvalues from Precision import Float def numeric_eigenvalues(A): """ Returns th

[sage-support] Re: importing Numeric

2006-10-27 Thread David Joyner
David Harvey wrote: > On Oct 27, 2006, at 7:43 AM, David Joyner wrote: > > >> Hello all: >> >> I'm trying to import Numeric to fix the eigenvalues bug for real >> and complex >> matrices. The following function should do it but it has problems I >> think with the >> eigenvalues line. Am I imp

[sage-support] Re: importing Numeric

2006-10-27 Thread William Stein
On Fri, 27 Oct 2006 06:52:17 -0500, David Harvey <[EMAIL PROTECTED]> wrote: > > > On Oct 27, 2006, at 7:43 AM, David Joyner wrote: > >> >> Hello all: >> >> I'm trying to import Numeric to fix the eigenvalues bug for real >> and complex >> matrices. The following function should do it but it has

[sage-support] Re: importing Numeric

2006-10-27 Thread David Harvey
On Oct 27, 2006, at 7:43 AM, David Joyner wrote: > > Hello all: > > I'm trying to import Numeric to fix the eigenvalues bug for real > and complex > matrices. The following function should do it but it has problems I > think with the > eigenvalues line. Am I importing something wrong? smells