ergo
per::Perturbation< Treal, Tmatrix, Tvector > Class Template Reference

#include <Perturbation.h>

Public Member Functions

 Perturbation (std::vector< Tmatrix * > const &F, std::vector< Tmatrix * > &D, mat::Interval< Treal > const &gap, mat::Interval< Treal > const &allEigs, Treal const deltaMax, Treal const errorTol, mat::normType const norm, Tvector &vect)
 
void perturb ()
 
void checkIdempotencies (std::vector< Treal > &idemErrors)
 
template<typename TmatNoSymm >
void checkCommutators (std::vector< Treal > &commErrors, TmatNoSymm const &dummyMat)
 
void checkMaxSubspaceError (Treal &subsError)
 

Protected Member Functions

void dryRun ()
 Dry run to obtain some needed numbers. More...
 
void run ()
 

Protected Attributes

std::vector< Tmatrix * > const & F
 
std::vector< Tmatrix * > & X
 
mat::Interval< Treal > gap
 
mat::Interval< Treal > const & allEigs
 
Treal deltaMax
 
Treal errorTol
 
mat::normType const norm
 
Tvector & vect
 
int nIter
 
std::vector< Treal > threshVal
 
std::vector< Treal > sigma
 

Constructor & Destructor Documentation

template<typename Treal , typename Tmatrix , typename Tvector >
per::Perturbation< Treal, Tmatrix, Tvector >::Perturbation ( std::vector< Tmatrix * > const &  F,
std::vector< Tmatrix * > &  D,
mat::Interval< Treal > const &  gap,
mat::Interval< Treal > const &  allEigs,
Treal const  deltaMax,
Treal const  errorTol,
mat::normType const  norm,
Tvector &  vect 
)
Parameters
FVector with matrices (input).
DVector with matrices (output).
gapBand gap.
allEigsInterval containing all eigenvalues of X0 + delta*X1 + delta^2*X2 + ... for all delta in [0, deltaMax] for initial X.
deltaMaxLargest allowed delta.
errorTolError tolerance.
normNorm for truncation etc.
vectVector.

References per::Perturbation< Treal, Tmatrix, Tvector >::allEigs, per::Perturbation< Treal, Tmatrix, Tvector >::F, per::Perturbation< Treal, Tmatrix, Tvector >::gap, and per::Perturbation< Treal, Tmatrix, Tvector >::X.

Member Function Documentation

template<typename Treal , typename Tmatrix , typename Tvector >
template<typename TmatNoSymm >
void per::Perturbation< Treal, Tmatrix, Tvector >::checkCommutators ( std::vector< Treal > &  commErrors,
TmatNoSymm const &  dummyMat 
)
template<typename Treal , typename Tmatrix , typename Tvector >
void per::Perturbation< Treal, Tmatrix, Tvector >::checkIdempotencies ( std::vector< Treal > &  idemErrors)
template<typename Treal , typename Tmatrix , typename Tvector >
void per::Perturbation< Treal, Tmatrix, Tvector >::dryRun ( )
protected

Member Data Documentation

template<typename Treal, typename Tmatrix, typename Tvector>
mat::Interval<Treal> const& per::Perturbation< Treal, Tmatrix, Tvector >::allEigs
protected
template<typename Treal, typename Tmatrix, typename Tvector>
Treal per::Perturbation< Treal, Tmatrix, Tvector >::deltaMax
protected
template<typename Treal, typename Tmatrix, typename Tvector>
Treal per::Perturbation< Treal, Tmatrix, Tvector >::errorTol
protected
template<typename Treal, typename Tmatrix, typename Tvector>
std::vector<Tmatrix *> const& per::Perturbation< Treal, Tmatrix, Tvector >::F
protected
template<typename Treal, typename Tmatrix, typename Tvector>
mat::Interval<Treal> per::Perturbation< Treal, Tmatrix, Tvector >::gap
protected
template<typename Treal, typename Tmatrix, typename Tvector>
int per::Perturbation< Treal, Tmatrix, Tvector >::nIter
protected
template<typename Treal, typename Tmatrix, typename Tvector>
mat::normType const per::Perturbation< Treal, Tmatrix, Tvector >::norm
protected
template<typename Treal, typename Tmatrix, typename Tvector>
std::vector<Treal> per::Perturbation< Treal, Tmatrix, Tvector >::sigma
protected
template<typename Treal, typename Tmatrix, typename Tvector>
std::vector<Treal> per::Perturbation< Treal, Tmatrix, Tvector >::threshVal
protected
template<typename Treal, typename Tmatrix, typename Tvector>
Tvector& per::Perturbation< Treal, Tmatrix, Tvector >::vect
protected

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