Anasazi::Eigensolution< ScalarType, MV > Struct Template Reference

Struct for storing an eigenproblem solution. More...

#include <AnasaziTypes.hpp>

List of all members.

Public Attributes

Teuchos::RefCountPtr< MV > Evecs
 The computed eigenvectors.
Teuchos::RefCountPtr< MV > Espace
 An orthonormal basis for the computed eigenspace.
std::vector< Value< ScalarType > > Evals
 The computed eigenvalues.
std::vector< int > index
 An index into Evecs to allow compressed storage of eigenvectors for real, non-Hermitian problems.
int numVecs
 The number of computed eigenpairs.


Detailed Description

template<class ScalarType, class MV>
struct Anasazi::Eigensolution< ScalarType, MV >

Struct for storing an eigenproblem solution.
Examples:

BlockDavidson/BlockDavidsonEpetraEx.cpp, BlockDavidson/BlockDavidsonEpetraExGen.cpp, and BlockKrylovSchur/BlockKrylovSchurEpetraEx.cpp.

Definition at line 75 of file AnasaziTypes.hpp.


Member Data Documentation

template<class ScalarType, class MV>
Teuchos::RefCountPtr<MV> Anasazi::Eigensolution< ScalarType, MV >::Evecs
 

The computed eigenvectors.

Definition at line 77 of file AnasaziTypes.hpp.

template<class ScalarType, class MV>
Teuchos::RefCountPtr<MV> Anasazi::Eigensolution< ScalarType, MV >::Espace
 

An orthonormal basis for the computed eigenspace.

Definition at line 79 of file AnasaziTypes.hpp.

template<class ScalarType, class MV>
std::vector<Value<ScalarType> > Anasazi::Eigensolution< ScalarType, MV >::Evals
 

The computed eigenvalues.

Definition at line 81 of file AnasaziTypes.hpp.

template<class ScalarType, class MV>
std::vector<int> Anasazi::Eigensolution< ScalarType, MV >::index
 

An index into Evecs to allow compressed storage of eigenvectors for real, non-Hermitian problems.

index has length numVecs, where each entry is 0, +1, or -1. These have the following interpretation:

  • index[i] == 0: signifies that the corresponding eigenvector is stored as the i column of Evecs. This will usually be the case when ScalarType is complex, an eigenproblem is Hermitian, or a real, non-Hermitian eigenproblem has a real eigenvector.
  • index[i] == +1: signifies that the corresponding eigenvector is stored in two vectors: the real part in the i column of Evecs and the positive imaginary part in the i+1 column of Evecs.
  • index[i] == -1: signifies that the corresponding eigenvector is stored in two vectors: the real part in the i-1 column of Evecs and the negative imaginary part in the i column of Evecs

Definition at line 90 of file AnasaziTypes.hpp.

template<class ScalarType, class MV>
int Anasazi::Eigensolution< ScalarType, MV >::numVecs
 

The number of computed eigenpairs.

Definition at line 92 of file AnasaziTypes.hpp.


The documentation for this struct was generated from the following file:
Generated on Thu Sep 18 12:31:39 2008 for Anasazi by doxygen 1.3.9.1