ergo
simple_lanczos.cc File Reference

Simple implementation of the Lanczos method. More...

#include "../matrix/mat_gblas.h"
#include "simple_lanczos.h"
#include "output.h"
#include <cmath>
#include <cstring>

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)
 

Detailed Description

Simple implementation of the Lanczos method.

Author
: Elias Rudberg responsible