Tool to easily solve standard eigenvalue problems. More...
#include <easyArpackpp.hh>
Public Member Functions | |
EasyArPackppStd (concepts::SparseMatrix< F > &A, int kmax, G shift) | |
EasyArPackppStd (concepts::SparseMatrix< F > &A, int kmax=1, char *which=(char *) "LM") | |
virtual | ~EasyArPackppStd () |
Destructor that deletes the solver and the operator. | |
virtual ArPackppStd< H > * | getSolver () |
Protected Attributes | |
int | dim_ |
Dimension of the space. | |
Tool to easily solve standard eigenvalue problems.
Definition at line 53 of file easyArpackpp.hh.
|
inline |
Shift and invert mode constructor. Builds a solver that solves the given eigenvalue problem using arpack++ with the shift and invert method.
A | matrix whose eigenvalues should be calculated |
kmax | number of eigenvalues that should be calculated |
shift | complex or real number for which the kmax closest eigenvalues will be calculated |
A
- shift
I has to be invertible, i.e. shift
should not be an eigenvalue of A
kmax
has to be larger than or equal to 1 (otherwise it is set to this lower bound). kmax
has to be smaller than or equal to the dimension of the matrix -2 (otherwise it is set to this upper bound). Definition at line 66 of file easyArpackpp.hh.
|
inline |
Regular mode constructor. Builds a solver that solves the given eigenvalue problem using arpack++ with the regular method.
A | matrix whose eigenvalues should be calculated |
kmax | number of eigenvalues that should be calculated (default 1) |
which | defines which eigenvalues should be calculated (default "LM") |
kmax
has to be larger than or equal to 1 (otherwise it is set to this lower bound). kmax
has to be smaller than or equal to the dimension of the matrix -2 (otherwise it is set to this upper bound). Definition at line 104 of file easyArpackpp.hh.
|
inlinevirtual |
Destructor that deletes the solver and the operator.
Definition at line 124 of file easyArpackpp.hh.
|
inlinevirtual |
Getter for the generated solver. Returns an eigensolver of the type ArPackStd that calculates the desired eigenvalues and eigenfunctions respectively.
Implements eigensolver::EasyArPackpp< concepts::Cmplx >.
Definition at line 136 of file easyArpackpp.hh.
|
protectedinherited |
Dimension of the space.
Definition at line 47 of file easyArpackpp.hh.