#include <SmallES.hh>
Public Member Functions | |
SmallES (concepts::Array< F > &A) | |
template<class G > | |
SmallES (concepts::Matrix< G > &A) | |
template<class G > | |
SmallES (concepts::ElementMatrix< G > &A) | |
template<class G > | |
SmallES (concepts::DenseMatrix< G > &A) | |
virtual | ~SmallES () |
virtual const concepts::Array< F > & | getEV () |
virtual const concepts::Array< concepts::Vector< F > * > & | getEF () |
virtual uint | iterations () const |
Returns the number of iterations. | |
virtual uint | converged () const |
Returns the number of converged eigenpairs: (not implemented) | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
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 takes: an array which represents the columnwise stored matrix: array(column 1, column 2,... column n), an ElementMatrix a Matrix IMPORTANT: If you use the real version of the algorithm, the eigenvalues are stored as an array of real values: array(Re(ev_1),...,Re(ev_n), Im(ev_1),..,Im(ev_n)). However, you can use a complex version for EementMatrix<Real> and Matrix<Real>.
Definition at line 38 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. |
eigensolver::SmallES< F >::SmallES | ( | concepts::Matrix< G > & | A | ) |
Constructor.
A | Matrix A is the matrix of which the eigenpairs have to be computed. |
eigensolver::SmallES< F >::SmallES | ( | concepts::ElementMatrix< G > & | A | ) |
Constructor.
A | ElementMatrix A is the matrix of which the eigenpairs have to be computed. |
|
inline |
Constructor.
A | DenseMatrix A is the matrix of which the eigenpairs have to be computed. |
Definition at line 66 of file SmallES.hh.
|
virtual |
Destructor
|
inlinevirtual |
Returns the number of converged eigenpairs: (not implemented)
Implements eigensolver::EigenSolver< F >.
Definition at line 85 of file SmallES.hh.
|
virtual |
Returns an array with the eigenfunctions.
Implements eigensolver::EigenSolver< F >.
|
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 >.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from eigensolver::EigenSolver< F >.
|
inlinevirtual |
Returns the number of iterations.
Implements eigensolver::EigenSolver< F >.
Definition at line 83 of file SmallES.hh.