Does anyone know of an eigensolver in Java that can give me just several smallest eigenvectors w/o computing the whole eigendecomposition (namely, second smallest EV)? I have looked at Colt, Jama, MTJ, UJMP, but these packages compute all eigenvectors.
Can you describe your matrix in more detail? Is it sparse? In general, sparse linear algebra packages have methods to compute only a few of the smallest or largest eigenpairs. For example, you can try to use ARPACK from within Java.
Another idea is just to write your own version of the Power Method, which is good at finding a few extreme eigenvalues very quickly. For example, see Eigenvalue Template Book (Hermitian) if your matrix is Hermitian or Eigenvalue Template Book (non-Hermitian) if your matrix is non-Hermitian.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With