source/utilities/simple_lanczos.h File Reference

Simple implementation of the Lanczos method. More...

#include "realtype.h"
#include <vector>
#include <cstdio>

Go to the source code of this file.

Namespaces

namespace  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)

Detailed Description

Simple implementation of the Lanczos method.

Author:
: Elias Rudberg responsible

Generated on 10 Jul 2018 for ergo by  doxygen 1.6.1