Sorting eigenvalues and vectors together

Sven Schreiber svetosch at
Fri Oct 27 16:04:13 CDT 2006

jeremito schrieb:
> argsort() will do the trick.  Thanks once again.  
> Jeremy

I was a bit confused by your question, maybe you can clarify what you
did in the end.

IIRC, if the eigenvalues returned by numpy are real numbers (due to the
type of the underlying matrix and algorithm), then they are
automatically returned  ascending (again, IIRC). That would mean you
don't have to do anything. But if they're complex, it's not obvious how
to sort them. Probably by modulus. So what exactly was your problem?


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list