Interface ARPACK
The package is designed to compute a few eigenvalues and corresponding eigenvectors of a general n by n matrix A. It is most appropriate for large sparse or structured matrices A where structured means that a matrix-vector product requires order n rather than the usual order O(n2) floating point operations. This software is based upon an algorithmic variant of the Arnoldi process called the Implicitly Restarted Arnoldi Method (IRAM). When the matrix A is symmetric it reduces to a variant of the Lanczos process called the Implicitly Restarted Lanczos Method (IRLM). These variants may be viewed as a synthesis of the Arnoldi/Lanczos process with the Implicitly Shifted QR technique that is suitable for large scale problems. For many standard problems, a matrix factorization is not required. Only the action of the matrix on a vector is needed.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Which eigenvalues of asymmetric matrix to compute.static enum
Which eigenvalues of symmetric matrix to compute. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic EVD
eigen
(Matrix A, ARPACK.AsymmOption which, int nev) Computes NEV eigenvalues of an asymmetric double precision matrix.static EVD
eigen
(Matrix A, ARPACK.AsymmOption which, int nev, int ncv, double tol) Computes NEV eigenvalues of an asymmetric double precision matrix.static SVD
Computes k-largest approximate singular triples of a matrix.static SVD
Computes k-largest approximate singular triples of a matrix.static EVD
syev
(Matrix A, ARPACK.SymmOption which, int nev) Computes NEV eigenvalues of a symmetric double precision matrix.static EVD
syev
(Matrix A, ARPACK.SymmOption which, int nev, int ncv, double tol) Computes NEV eigenvalues of a symmetric double precision matrix.
-
Method Details
-
syev
Computes NEV eigenvalues of a symmetric double precision matrix.- Parameters:
A
- the matrix to decompose.which
- which eigenvalues to compute.nev
- the number of eigenvalues of OP to be computed.0 < nev < n
.- Returns:
- the eigen decomposition.
-
syev
Computes NEV eigenvalues of a symmetric double precision matrix.- Parameters:
A
- the matrix to decompose.which
- which eigenvalues to compute.nev
- the number of eigenvalues of OP to be computed.0 < nev < n
.ncv
- the number of Arnoldi vectors.tol
- the stopping criterion.- Returns:
- the eigen decomposition.
-
eigen
Computes NEV eigenvalues of an asymmetric double precision matrix.- Parameters:
A
- the matrix to decompose.which
- which eigenvalues to compute.nev
- the number of eigenvalues of OP to be computed.0 < nev < n
.- Returns:
- the eigen decomposition.
-
eigen
Computes NEV eigenvalues of an asymmetric double precision matrix.- Parameters:
A
- the matrix to decompose.which
- which eigenvalues to compute.nev
- the number of eigenvalues of OP to be computed.0 < nev < n
.ncv
- the number of Arnoldi vectors.tol
- the stopping criterion.- Returns:
- the eigen decomposition.
-
svd
-
svd
Computes k-largest approximate singular triples of a matrix.- Parameters:
A
- the matrix to decompose.k
- the number of singular triples to compute.ncv
- the number of Arnoldi vectors.tol
- the stopping criterion.- Returns:
- the singular value decomposition.
-