no.uib.cipr.matrix.sparse
Class ArpackSym
java.lang.Object
no.uib.cipr.matrix.sparse.ArpackSym
public class ArpackSym
- extends Object
Uses ARPACK to partially solve symmetric eigensystems (ARPACK is designed to
compute a subset of eigenvalues/eigenvectors).
- Author:
- Sam Halliday
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArpackSym
public ArpackSym(Matrix matrix)
solve
public Map<Double,DenseVectorSub> solve(int eigenvalues,
ArpackSym.Ritz ritz)
- Solve the eigensystem for the number of eigenvalues requested.
NOTE: The references to the eigenvectors will keep alive a reference to a
nev * n
double array, so use the copy()
method to free it
up if only a subset is required.
- Parameters:
eigenvalues
- ritz
- preference for solutions
- Returns:
- a map from eigenvalues to corresponding eigenvectors.
Copyright © 2015. All Rights Reserved.