Eigenvalue solver using LaPack routine dgeev (Real) zgeev (Cmplx).
More...
#include <SmallES.hh>


Public Member Functions | |
| virtual uint | converged () const |
| Returns the number of converged eigenpairs: (not implemented) | |
| virtual const concepts::Array < concepts::Vector< F > * > & | getEF () |
| Returns an array with the eigenfunctions. | |
| virtual const concepts::Array < F > & | getEV () |
Returns an array with the real parts of the eigenvalues in the first kmax entries and the imaginary parts of the eigenvalues in the second kmax entries for real matrices and returns a complex array containing the eigenvalues for complex matrices. | |
| virtual uint | iterations () const |
| Returns the number of iterations. | |
| SmallES (concepts::Array< F > &A) | |
| Constructor. | |
| virtual | ~SmallES () |
| Destructor. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Member Functions | |
| void | compute_ () |
| Compute eigenpairs. | |
Private Attributes | |
| concepts::Array< F > & | A_ |
Array A as described in modus. | |
| bool | computed_ |
| Eigenpairs computed? | |
| concepts::Array< F > | eigenvalues_ |
| Storage space for eigenvalues. | |
| concepts::Array < concepts::Vector< F > * > | eigenvectors_ |
| Storage for eigenvectors. | |
Eigenvalue solver using LaPack routine dgeev (Real) zgeev (Cmplx).
This solver is intended to be applied to "small" general N by N matrices, e.g. for the eigenvalue computation in the DirPotIt routine. For Sparse matrices / big eigenvalue problems consider the ArPack routines. As input this solver needs an array which represents the columnwise stored matrix: array(column 1, column 2,... column n).
Definition at line 25 of file SmallES.hh.
| eigensolver::SmallES< F >::SmallES | ( | concepts::Array< F > & | A | ) |
Constructor.
| A | Array A is the matrix of which the eigenpairs have to be computed. |
| virtual eigensolver::SmallES< F >::~SmallES | ( | ) | [virtual] |
Destructor.
| void eigensolver::SmallES< F >::compute_ | ( | ) | [private] |
Compute eigenpairs.
| virtual uint eigensolver::SmallES< F >::converged | ( | ) | const [inline, virtual] |
Returns the number of converged eigenpairs: (not implemented)
Implements eigensolver::EigenSolver< F >.
Definition at line 48 of file SmallES.hh.
| virtual const concepts::Array<concepts::Vector<F>*>& eigensolver::SmallES< F >::getEF | ( | ) | [virtual] |
Returns an array with the eigenfunctions.
Implements eigensolver::EigenSolver< F >.
| virtual const concepts::Array<F>& eigensolver::SmallES< F >::getEV | ( | ) | [virtual] |
Returns an array with the real parts of the eigenvalues in the first kmax entries and the imaginary parts of the eigenvalues in the second kmax entries for real matrices and returns a complex array containing the eigenvalues for complex matrices.
The last entry in both cases is the optimal size of the work array.
Implements eigensolver::EigenSolver< F >.
| virtual std::ostream& eigensolver::SmallES< F >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from eigensolver::EigenSolver< F >.
| virtual uint eigensolver::SmallES< F >::iterations | ( | ) | const [inline, virtual] |
Returns the number of iterations.
Implements eigensolver::EigenSolver< F >.
Definition at line 46 of file SmallES.hh.
concepts::Array<F>& eigensolver::SmallES< F >::A_ [private] |
Array A as described in modus.
Definition at line 53 of file SmallES.hh.
bool eigensolver::SmallES< F >::computed_ [private] |
Eigenpairs computed?
Definition at line 59 of file SmallES.hh.
concepts::Array<F> eigensolver::SmallES< F >::eigenvalues_ [private] |
Storage space for eigenvalues.
Definition at line 55 of file SmallES.hh.
concepts::Array<concepts::Vector<F>*> eigensolver::SmallES< F >::eigenvectors_ [private] |
Storage for eigenvectors.
Definition at line 57 of file SmallES.hh.