ergo
|
Simple implementation of the Lanczos method. More...
Go to the source code of this file.
Namespaces | |
simple_lanczos | |
Functions | |
ergo_real | simple_lanczos::simple_lanczos_get_vector_norm (int n, const ergo_real *v) |
void | simple_lanczos::simple_lanczos_normalize_vector (int n, ergo_real *v) |
void | simple_lanczos::simple_lanczos_get_eigs (int n, ergo_real *M, ergo_real &currEig_lo, ergo_real *bestVector_lo, ergo_real &currEig_hi, ergo_real *bestVector_hi, ergo_real *eigValListResult) |
template<typename Tmatvecmul > | |
void | simple_lanczos::do_lanczos_method (int n, const ergo_real *guessVector, ergo_real &resultEig_lo, ergo_real *resultVec_lo, ergo_real &resultEig_hi, ergo_real *resultVec_hi, const Tmatvecmul &matvecmul, int maxIterations_in, ergo_real shift, ergo_real extraEnergy) |
Simple implementation of the Lanczos method.