ergo
recexp_randsym_test.cc File Reference

Test serial recursive expansion on a random matrix. Generate a
random sparse matrix with a given spectrum. (Note, there is no decay of elements.) More...

#include "purification_sp2acc.h"
#include "purification_sp2.h"
#include "matrix_typedefs.h"
#include "matrix_typedefs_chtml.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 "transform.h"
#include <iostream>
#include <fstream>
#include <sstream>
#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 symmMatrixWrap MatrixTypeWrap
 
typedef MatrixType::VectorType VectorType
 

Functions

int main (int argc, char *argv[])
 

Variables

real TOL_ERR_SUBS_DEFAULT = SQRT_EPSILON_REAL
 
real TOL_TRACE_ERROR_DEFAULT = SQRT_EPSILON_REAL*100
 

Detailed Description

Test serial recursive expansion on a random matrix. Generate a
random sparse matrix with a given spectrum. (Note, there is no decay of elements.)

Author
Anastasia Kruchinina responsible

Macro Definition Documentation

◆ SQRT_EPSILON_REAL

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

Typedef Documentation

◆ MatrixType

◆ MatrixTypeWrap

◆ real

typedef ergo_real real

◆ VectorType

Function Documentation

◆ main()

Variable Documentation

◆ TOL_ERR_SUBS_DEFAULT

real TOL_ERR_SUBS_DEFAULT = SQRT_EPSILON_REAL

Referenced by main().

◆ TOL_TRACE_ERROR_DEFAULT

real TOL_TRACE_ERROR_DEFAULT = SQRT_EPSILON_REAL*100

Referenced by main().