Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
eigensolver::SmallES< F > Class Template Reference

Eigenvalue solver using LaPack routine dgeev (Real) zgeev (Cmplx). More...

#include <SmallES.hh>

Inheritance diagram for eigensolver::SmallES< F >:
Inheritance graph
[legend]
Collaboration diagram for eigensolver::SmallES< F >:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

template<typename F>
class eigensolver::SmallES< F >

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).

Author:
Peter Kauf, 2005

Definition at line 25 of file SmallES.hh.


Constructor & Destructor Documentation

template<typename F >
eigensolver::SmallES< F >::SmallES ( concepts::Array< F > &  A)

Constructor.

Parameters:
AArray A is the matrix of which the eigenpairs have to be computed.
template<typename F >
virtual eigensolver::SmallES< F >::~SmallES ( ) [virtual]

Destructor.


Member Function Documentation

template<typename F >
void eigensolver::SmallES< F >::compute_ ( ) [private]

Compute eigenpairs.

template<typename F >
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.

template<typename F >
virtual const concepts::Array<concepts::Vector<F>*>& eigensolver::SmallES< F >::getEF ( ) [virtual]

Returns an array with the eigenfunctions.

Implements eigensolver::EigenSolver< F >.

template<typename 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 >.

template<typename 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 >.

template<typename 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.


Member Data Documentation

template<typename F >
concepts::Array<F>& eigensolver::SmallES< F >::A_ [private]

Array A as described in modus.

Definition at line 53 of file SmallES.hh.

template<typename F >
bool eigensolver::SmallES< F >::computed_ [private]

Eigenpairs computed?

Definition at line 59 of file SmallES.hh.

template<typename F >
concepts::Array<F> eigensolver::SmallES< F >::eigenvalues_ [private]

Storage space for eigenvalues.

Definition at line 55 of file SmallES.hh.

template<typename F >
concepts::Array<concepts::Vector<F>*> eigensolver::SmallES< F >::eigenvectors_ [private]

Storage for eigenvectors.

Definition at line 57 of file SmallES.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)