javaeigenvectoreigenvaluejama

Eigenvalue and the corresponding EigenVector in Java


Given a Matrix, I'm interested in the Eigenvalues and the corresponding Eigenvector.

Using Jama, I can get the Eigenvalues and the Eigenvectors, yet the correlation between the two is not defined: I want to map each Eigenvector to the corresponding Eigenvalue.

Can you please recommend me of a way to do so? I tried to implement it myself but it got nasty.

Thanks :)


I am trying to look for an authorized answer, yet for now, According to experiments and observation I performed, the eigenvectors and evigenValues seem to be corresponding.


Solution

  • I asked the developer of the Weka by mail regrading the above issue and they confirm the assumption -

    The eigenvectors are indeed provided in the same order as the eigenvalues.