Sven Schreiber wrote:
> 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).
This should be considered an implementation detail that may change in the
future, so don
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
argsort() will do the trick. Thanks once again.
Jeremy
-
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
jeremito wrote:
> I am using a = numpy.linalg.eig(A) to get the eigenvalues and
> eigenvectors. I am interested only in the largest eigenvalue so I
> would like to sort the first element of a. But if I do that, I won't
> know what is the associated eigenvector. Is there a function that will
> so
On 10/27/06, jeremito <[EMAIL PROTECTED]> wrote:
> I am using a = numpy.linalg.eig(A) to get the eigenvalues and
> eigenvectors. I am interested only in the largest eigenvalue so I
> would like to sort the first element of a. But if I do that, I won't
> know what is the associated eigenvector. I
On 27/10/06, jeremito <[EMAIL PROTECTED]> wrote:
> I am using a = numpy.linalg.eig(A) to get the eigenvalues and
> eigenvectors. I am interested only in the largest eigenvalue so I
> would like to sort the first element of a. But if I do that, I won't
> know what is the associated eigenvector. I
I am using a = numpy.linalg.eig(A) to get the eigenvalues and
eigenvectors. I am interested only in the largest eigenvalue so I
would like to sort the first element of a. But if I do that, I won't
know what is the associated eigenvector. Is there a function that will
sort the values and vectors