no.uib.cipr.matrix.sparse
Class ArpackSym

java.lang.Object
  extended by 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

Nested Class Summary
static class ArpackSym.Ritz
           
 
Constructor Summary
ArpackSym(Matrix matrix)
           
 
Method Summary
 Map<Double,DenseVectorSub> solve(int eigenvalues, ArpackSym.Ritz ritz)
          Solve the eigensystem for the number of eigenvalues requested.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArpackSym

public ArpackSym(Matrix matrix)
Method Detail

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.