Anasazi  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Attributes | List of all members
Anasazi::Eigensolution< ScalarType, MV > Struct Template Reference

Struct for storing an eigenproblem solution. More...

#include <AnasaziTypes.hpp>

Public Attributes

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

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, BlockDavidson/BlockDavidsonEpetraExGenPrecIfpack.cpp, BlockKrylovSchur/BlockKrylovSchurEpetraEx.cpp, BlockKrylovSchur/BlockKrylovSchurEpetraExGenAmesos.cpp, BlockKrylovSchur/BlockKrylovSchurEpetraExGenAztecOO.cpp, BlockKrylovSchur/BlockKrylovSchurEpetraExGenBelos.cpp, BlockKrylovSchur/BlockKrylovSchurEpetraExSVD.cpp, GeneralizedDavidson/GeneralizedDavidsonEpetraExFileIfpack.cpp, LOBPCGCustomStatusTest.cpp, LOBPCGEpetra.cpp, LOBPCGEpetraEx.cpp, LOBPCGEpetraExGen.cpp, LOBPCGEpetraExGenPrecIfpack.cpp, LOBPCGEpetraExGenShifted.cpp, LOBPCGEpetraExSimple.cpp, TraceMinDavidsonGeneralizedEx.cpp, TraceMinDavidsonLaplacianEx.cpp, TraceMinDavidsonSpecTransEx.cpp, and TraceMinDavidsonUserOpEx.cpp.

Definition at line 90 of file AnasaziTypes.hpp.

Member Data Documentation

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

The computed eigenvectors.

Definition at line 92 of file AnasaziTypes.hpp.

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

An orthonormal basis for the computed eigenspace.

Definition at line 94 of file AnasaziTypes.hpp.

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

The computed eigenvalues.

Examples:
LOBPCGEpetraEx.cpp, LOBPCGEpetraExGenPrecIfpack.cpp, and LOBPCGEpetraExSimple.cpp.

Definition at line 96 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 105 of file AnasaziTypes.hpp.

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

The number of computed eigenpairs.

Definition at line 107 of file AnasaziTypes.hpp.


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