Purification_sp2acc is a class which provides an interface for SP2 recursive expansion. More...
#include <purification_sp2.h>
Purification_sp2acc is a class which provides an interface for SP2 recursive expansion.
MatrixType | Type of a matrix (ex. symmMatrix). |
typedef PurificationGeneral<MatrixType>::IntervalType Purification_sp2< MatrixType >::IntervalType |
Reimplemented from PurificationGeneral< MatrixType >.
typedef PurificationGeneral<MatrixType>::NormType Purification_sp2< MatrixType >::NormType |
Reimplemented from PurificationGeneral< MatrixType >.
typedef PurificationGeneral<MatrixType>::real Purification_sp2< MatrixType >::real |
Reimplemented from PurificationGeneral< MatrixType >.
typedef generalVector Purification_sp2< MatrixType >::VectorType |
Reimplemented from PurificationGeneral< MatrixType >.
typedef PurificationGeneral<MatrixType>::VectorTypeInt Purification_sp2< MatrixType >::VectorTypeInt |
Reimplemented from PurificationGeneral< MatrixType >.
typedef PurificationGeneral<MatrixType>::VectorTypeReal Purification_sp2< MatrixType >::VectorTypeReal |
Reimplemented from PurificationGeneral< MatrixType >.
Purification_sp2< MatrixType >::Purification_sp2 | ( | ) | [inline] |
void Purification_sp2< MatrixType >::apply_inverse_poly_vector | ( | const int | it, | |
VectorTypeReal & | bounds_from_it | |||
) | [inline, virtual] |
Implements PurificationGeneral< MatrixType >.
References Purification_sp2< MatrixType >::get_poly(), and template_blas_sqrt().
Purification_sp2< MatrixType >::real Purification_sp2< MatrixType >::apply_poly | ( | const int | it, | |
real | x | |||
) | [inline, virtual] |
Implements PurificationGeneral< MatrixType >.
References Purification_sp2< MatrixType >::get_poly().
void Purification_sp2< MatrixType >::apply_poly_to_eigs | ( | const int | it, | |
real & | homo, | |||
real & | lumo | |||
) | [inline, virtual] |
Implements PurificationGeneral< MatrixType >.
References Purification_sp2< MatrixType >::get_poly().
Purification_sp2< MatrixType >::real Purification_sp2< MatrixType >::compute_derivative | ( | const int | it, | |
real | x, | |||
real & | DDf | |||
) | [inline, virtual] |
Implements PurificationGeneral< MatrixType >.
References Purification_sp2< MatrixType >::get_poly().
void Purification_sp2< MatrixType >::estimate_number_of_iterations | ( | int & | numit | ) | [inline, virtual] |
Implements PurificationGeneral< MatrixType >.
References PurificationGeneral< MatrixType >::additional_iterations, PurificationGeneral< MatrixType >::check_stopping_criterion_iter, do_output(), mat::frobNorm, PurificationGeneral< MatrixType >::get_epsilon(), PurificationGeneral< MatrixType >::homo_bounds, LOG_AREA_DENSFROMF, LOG_CAT_INFO, mat::Interval< Treal >::low(), PurificationGeneral< MatrixType >::lumo_bounds, PurificationGeneral< MatrixType >::maxit, PurificationGeneral< MatrixType >::normPuriStopCrit, mat::Interval< Treal >::upp(), PurificationGeneral< MatrixType >::VecGap, and PurificationGeneral< MatrixType >::VecPoly.
void Purification_sp2< MatrixType >::get_poly | ( | const int | it, | |
int & | poly | |||
) | [inline] |
References PurificationGeneral< MatrixType >::VecPoly.
Referenced by Purification_sp2< MatrixType >::apply_inverse_poly_vector(), Purification_sp2< MatrixType >::apply_poly(), Purification_sp2< MatrixType >::apply_poly_to_eigs(), Purification_sp2< MatrixType >::compute_derivative(), Purification_sp2< MatrixType >::purify_bounds(), and Purification_sp2< MatrixType >::purify_X().
void Purification_sp2< MatrixType >::purify_bounds | ( | const int | it | ) | [inline, virtual] |
Implements PurificationGeneral< MatrixType >.
References do_output(), mat::Interval< Treal >::empty(), Purification_sp2< MatrixType >::get_poly(), PurificationGeneral< MatrixType >::homo_bounds, mat::Interval< Treal >::intersect(), LOG_AREA_DENSFROMF, LOG_CAT_INFO, mat::Interval< Treal >::low(), PurificationGeneral< MatrixType >::lumo_bounds, mat::Interval< Treal >::upp(), and PurificationGeneral< MatrixType >::VecPoly.
void Purification_sp2< MatrixType >::purify_X | ( | const int | it | ) | [inline, virtual] |
void Purification_sp2< MatrixType >::return_constant_C | ( | const int | it, | |
real & | Cval | |||
) | [inline, virtual] |
Implements PurificationGeneral< MatrixType >.
References C_SP2.
void Purification_sp2< MatrixType >::save_other_iter_info | ( | IterationInfo & | iter_info, | |
int | it | |||
) | [inline, virtual] |
void Purification_sp2< MatrixType >::set_init_params | ( | ) | [inline, virtual] |
void Purification_sp2< MatrixType >::set_poly | ( | const int | it | ) | [inline] |
void Purification_sp2< MatrixType >::truncate_matrix | ( | real & | threshold, | |
int | it | |||
) | [inline, virtual] |