ergo
recexp_eigenv_test.cc File Reference

Test serial recursive expansion and computation of homo and lumo eigenvectors of a diagonal matrix with given eigenspectrum. More...

#include "purification_sp2.h"
#include "purification_sp2acc.h"
#include "matrix_typedefs.h"
#include "realtype.h"
#include "matrix_utilities.h"
#include "integral_matrix_wrappers.h"
#include "SizesAndBlocks.h"
#include "Matrix.h"
#include "Vector.h"
#include "MatrixSymmetric.h"
#include "MatrixTriangular.h"
#include "MatrixGeneral.h"
#include "VectorGeneral.h"
#include "output.h"
#include <iostream>
#include <fstream>
#include <string.h>
#include "random_matrices.h"

Macros

#define SQRT_EPSILON_REAL   template_blas_sqrt(mat::getMachineEpsilon<real>())
 

Typedefs

typedef ergo_real real
 
typedef symmMatrix MatrixType
 
typedef MatrixType::VectorType VectorType
 

Functions

int test1 (int argc, char *argv[])
 
int test2 ()
 
int test3 ()
 
int test4 ()
 
int main (int argc, char *argv[])
 

Variables

real TOL_ERR_SUBS_DEFAULT = 0
 
real TOL_TRACE_ERROR_DEFAULT = SQRT_EPSILON_REAL
 
real SCALAR_TOL = SQRT_EPSILON_REAL
 

Detailed Description

Test serial recursive expansion and computation of homo and lumo eigenvectors of a diagonal matrix with given eigenspectrum.

Author
Anastasia Kruchinina responsible

Macro Definition Documentation

◆ SQRT_EPSILON_REAL

#define SQRT_EPSILON_REAL   template_blas_sqrt(mat::getMachineEpsilon<real>())

Typedef Documentation

◆ MatrixType

◆ real

typedef ergo_real real

◆ VectorType

Function Documentation

◆ main()

◆ test1()

◆ test2()

◆ test3()

◆ test4()

Variable Documentation

◆ SCALAR_TOL

real SCALAR_TOL = SQRT_EPSILON_REAL

Referenced by test1().

◆ TOL_ERR_SUBS_DEFAULT

real TOL_ERR_SUBS_DEFAULT = 0

Referenced by test1(), test2(), test3(), and test4().

◆ TOL_TRACE_ERROR_DEFAULT

real TOL_TRACE_ERROR_DEFAULT = SQRT_EPSILON_REAL

Referenced by test1(), and test4().