42#ifndef ANASAZI_TYPES_HPP
43#define ANASAZI_TYPES_HPP
46#include "Teuchos_RCP.hpp"
47#include "Teuchos_ScalarTraits.hpp"
55typedef Teuchos_Ordinal Array_size_type;
64 public:
AnasaziError(
const std::string& what_arg) : std::logic_error(what_arg) {}
73 template <
class ScalarType>
76 typename Teuchos::ScalarTraits<ScalarType>::magnitudeType
realpart;
78 typename Teuchos::ScalarTraits<ScalarType>::magnitudeType
imagpart;
79 void set(
const typename Teuchos::ScalarTraits<ScalarType>::magnitudeType &rp,
const typename Teuchos::ScalarTraits<ScalarType>::magnitudeType &ip){
82 Value<ScalarType> &operator=(
const Value<ScalarType> &rhs) {
89 template <
class ScalarType,
class MV>
96 std::vector<Value<ScalarType> >
Evals;
Anasazi header file which uses auto-configuration information to include necessary C++ headers.
An exception class parent to all Anasazi exceptions.
Namespace Anasazi contains the classes, structs, enums and utilities used by the Anasazi package.
ReturnType
Enumerated type used to pass back information from a solver manager.
ResType
Enumerated type used to specify which residual norm used by residual norm status tests.
ConjType
Enumerated types used to specify conjugation arguments.
MsgType
Enumerated list of available message types recognized by the eigensolvers.
TestStatus
Enumerated type used to pass back information from a StatusTest.
Struct for storing an eigenproblem solution.
Teuchos::RCP< MV > Evecs
The computed eigenvectors.
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.
Teuchos::RCP< MV > Espace
An orthonormal basis for the computed eigenspace.
std::vector< Value< ScalarType > > Evals
The computed eigenvalues.
This struct is used for storing eigenvalues and Ritz values, as a pair of real values.
Teuchos::ScalarTraits< ScalarType >::magnitudeType imagpart
The imaginary component of the eigenvalue.
Teuchos::ScalarTraits< ScalarType >::magnitudeType realpart
The real component of the eigenvalue.