Purification_sp2< MatrixType > Class Template Reference

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

#include <purification_sp2.h>

Inheritance diagram for Purification_sp2< 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_sp2 ()
void set_init_params ()
void get_poly (const int it, int &poly)
void set_poly (const int it)
void truncate_matrix (real &threshold, int it)
void estimate_number_of_iterations (int &numit)
void purify_X (const int it)
void purify_bounds (const int it)
void save_other_iter_info (IterationInfo &iter_info, int it)
void apply_inverse_poly_vector (const int it, VectorTypeReal &bounds_from_it)
void return_constant_C (const int it, real &Cval)
real apply_poly (const int it, real x)
void apply_poly_to_eigs (const int it, real &homo, real &lumo)
real compute_derivative (const int it, real x, real &DDf)

Detailed Description

template<typename MatrixType>
class Purification_sp2< MatrixType >

Purification_sp2acc is a class which provides an interface for SP2 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_sp2< MatrixType >::NormType

Reimplemented from PurificationGeneral< MatrixType >.

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

Reimplemented from PurificationGeneral< MatrixType >.

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

Reimplemented from PurificationGeneral< MatrixType >.

Reimplemented from PurificationGeneral< MatrixType >.

Reimplemented from PurificationGeneral< MatrixType >.


Constructor & Destructor Documentation

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

Member Function Documentation

template<typename MatrixType >
void Purification_sp2< MatrixType >::apply_inverse_poly_vector ( const int  it,
VectorTypeReal bounds_from_it 
) [inline, virtual]
template<typename MatrixType >
Purification_sp2< MatrixType >::real Purification_sp2< MatrixType >::apply_poly ( const int  it,
real  x 
) [inline, virtual]
template<typename MatrixType >
void Purification_sp2< MatrixType >::apply_poly_to_eigs ( const int  it,
real homo,
real lumo 
) [inline, virtual]
template<typename MatrixType >
Purification_sp2< MatrixType >::real Purification_sp2< MatrixType >::compute_derivative ( const int  it,
real  x,
real DDf 
) [inline, virtual]
template<typename MatrixType >
void Purification_sp2< MatrixType >::estimate_number_of_iterations ( int &  numit  )  [inline, virtual]
template<typename MatrixType >
void Purification_sp2< MatrixType >::get_poly ( const int  it,
int &  poly 
) [inline]
template<typename MatrixType >
void Purification_sp2< MatrixType >::purify_bounds ( const int  it  )  [inline, virtual]
template<typename MatrixType >
void Purification_sp2< MatrixType >::purify_X ( const int  it  )  [inline, virtual]
template<typename MatrixType >
void Purification_sp2< MatrixType >::return_constant_C ( const int  it,
real Cval 
) [inline, virtual]

Implements PurificationGeneral< MatrixType >.

References C_SP2.

template<typename MatrixType >
void Purification_sp2< MatrixType >::save_other_iter_info ( IterationInfo iter_info,
int  it 
) [inline, virtual]
template<typename MatrixType>
void Purification_sp2< MatrixType >::set_init_params (  )  [inline, virtual]
template<typename MatrixType >
void Purification_sp2< MatrixType >::set_poly ( const int  it  )  [inline]
template<typename MatrixType >
void Purification_sp2< MatrixType >::truncate_matrix ( real threshold,
int  it 
) [inline, virtual]

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

Generated on 10 Jul 2018 for ergo by  doxygen 1.6.1