From: Nils W. <nw...@ia...> - 2006-10-24 18:26:41
|
On Tue, 24 Oct 2006 11:16:19 -0700 "Keith Goodman" <kwg...@gm...> wrote: > Is there any guarantee on the order of eigenvalues (and=20 >eigenvectors) > returned by numpy.linalg.eigh? >=20 > If I want to make sure the eigenvalues are in ascending=20 >order of > magnitude should I sort them myself? >=20 > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web=20 >services, security? > Get stuff done quickly with pre-integrated technology to=20 >make your job easier > Download IBM WebSphere Application Server v.1.0.1 based=20 >on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion AFAIK eigh is based on dsyevd.f http://www.netlib.org/lapack/double/dsyevd.f. (real=20 symmetric) http://www.netlib.org/lapack/complex16/zheevd.f (complex=20 Hermitian). If INFO =3D 0, the eigenvalues are given in ascending order. Please correct me if I get it wrong. Nils |