Purification_sp2acc< MatrixType > Class Template Reference

Purification_sp2acc is a class which provides an interface for SP2ACC recursive expansion. More...

#include <purification_sp2acc.h>

Inheritance diagram for Purification_sp2acc< MatrixType >:
PurificationGeneral< MatrixType >

List of all members.

Public Types

typedef PurificationGeneral
< MatrixType >::real 
real
typedef PurificationGeneral
< MatrixType >::IntervalType 
IntervalType
typedef PurificationGeneral
< MatrixType >::NormType 
NormType
typedef PurificationGeneral
< MatrixType >::VectorTypeInt 
VectorTypeInt
typedef PurificationGeneral
< MatrixType >::VectorTypeReal 
VectorTypeReal
typedef generalVector VectorType

Public Member Functions

 Purification_sp2acc ()
virtual void set_init_params ()
virtual void get_poly (const int it, int &poly, real &alpha)
virtual void set_poly (const int it)
virtual void truncate_matrix (real &threshold, int it)
virtual void estimate_number_of_iterations (int &numit)
virtual void purify_X (const int it)
virtual void purify_bounds (const int it)
virtual void save_other_iter_info (IterationInfo &iter_info, int it)
virtual void apply_inverse_poly_vector (const int it, VectorTypeReal &bounds_from_it)
virtual void return_constant_C (const int it, real &Cval)
virtual real apply_poly (const int it, real x)
virtual void apply_poly_to_eigs (const int it, real &homo, real &lumo)
virtual real compute_derivative (const int it, real x, real &DDf)

Public Attributes

VectorTypeReal VecAlpha

Static Public Attributes

static const real deltaTurnOffAcc = 0.01

Detailed Description

template<typename MatrixType>
class Purification_sp2acc< MatrixType >

Purification_sp2acc is a class which provides an interface for SP2ACC recursive expansion.

Template Parameters:
MatrixType Type of a matrix (ex. symmMatrix).

Member Typedef Documentation

Reimplemented from PurificationGeneral< MatrixType >.

template<typename MatrixType>
typedef PurificationGeneral<MatrixType>::NormType Purification_sp2acc< MatrixType >::NormType

Reimplemented from PurificationGeneral< MatrixType >.

template<typename MatrixType>
typedef PurificationGeneral<MatrixType>::real Purification_sp2acc< MatrixType >::real

Reimplemented from PurificationGeneral< MatrixType >.

template<typename MatrixType>
typedef generalVector Purification_sp2acc< MatrixType >::VectorType

Reimplemented from PurificationGeneral< MatrixType >.

Reimplemented from PurificationGeneral< MatrixType >.

Reimplemented from PurificationGeneral< MatrixType >.


Constructor & Destructor Documentation

template<typename MatrixType>
Purification_sp2acc< MatrixType >::Purification_sp2acc (  )  [inline]

Member Function Documentation

template<typename MatrixType >
void Purification_sp2acc< MatrixType >::apply_inverse_poly_vector ( const int  it,
VectorTypeReal bounds_from_it 
) [inline, virtual]
template<typename MatrixType >
Purification_sp2acc< MatrixType >::real Purification_sp2acc< MatrixType >::apply_poly ( const int  it,
real  x 
) [inline, virtual]
template<typename MatrixType >
void Purification_sp2acc< MatrixType >::apply_poly_to_eigs ( const int  it,
real homo,
real lumo 
) [inline, virtual]
template<typename MatrixType >
Purification_sp2acc< MatrixType >::real Purification_sp2acc< MatrixType >::compute_derivative ( const int  it,
real  x,
real DDf 
) [inline, virtual]
template<typename MatrixType >
void Purification_sp2acc< MatrixType >::estimate_number_of_iterations ( int &  numit  )  [inline, virtual]
template<typename MatrixType >
void Purification_sp2acc< MatrixType >::get_poly ( const int  it,
int &  poly,
real alpha 
) [inline, virtual]
template<typename MatrixType >
void Purification_sp2acc< MatrixType >::purify_bounds ( const int  it  )  [inline, virtual]
template<typename MatrixType >
void Purification_sp2acc< MatrixType >::purify_X ( const int  it  )  [inline, virtual]
template<typename MatrixType >
void Purification_sp2acc< MatrixType >::return_constant_C ( const int  it,
real Cval 
) [inline, virtual]
template<typename MatrixType >
void Purification_sp2acc< MatrixType >::save_other_iter_info ( IterationInfo iter_info,
int  it 
) [inline, virtual]
template<typename MatrixType>
virtual void Purification_sp2acc< MatrixType >::set_init_params (  )  [inline, virtual]
template<typename MatrixType >
void Purification_sp2acc< MatrixType >::set_poly ( const int  it  )  [inline, virtual]
template<typename MatrixType >
void Purification_sp2acc< MatrixType >::truncate_matrix ( real threshold,
int  it 
) [inline, virtual]

Member Data Documentation

template<typename MatrixType>
const Purification_sp2acc< MatrixType >::real Purification_sp2acc< MatrixType >::deltaTurnOffAcc = 0.01 [inline, static]
template<typename MatrixType>
VectorTypeReal Purification_sp2acc< MatrixType >::VecAlpha

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

Generated on 10 Jul 2018 for ergo by  doxygen 1.6.1