ergo
test.cc File Reference
#include <iostream>
#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 "get_eigenvectors.h"

Macros

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

Typedefs

typedef ergo_real real
 

Functions

template<typename Matrix>
void init_matrix (Matrix &X, const int N, const int M)
 Create hierarchical matrix structure.
 
void get_matrix_from_full (std::vector< real > const &A, int N, int M, symmMatrix &X)
 
int main ()
 

Variables

mat::SizesAndBlocks rows
 
mat::SizesAndBlocks cols
 

Macro Definition Documentation

◆ SCALAR_TOL

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

Referenced by main(), main(), and test1().

Typedef Documentation

◆ real

typedef ergo_real real

Function Documentation

◆ get_matrix_from_full()

void get_matrix_from_full ( std::vector< real > const & A,
int N,
int M,
symmMatrix & X )

References A, and init_matrix().

Referenced by main().

◆ init_matrix()

template<typename Matrix>
void init_matrix ( Matrix & X,
const int N,
const int M )

Create hierarchical matrix structure.

Template Parameters
Matrixtype of the matrix (ex. symmMatrix)

!!

References cols, and rows.

Referenced by get_matrix_from_binary(), get_matrix_from_full(), get_matrix_from_full(), get_matrix_from_sparse(), get_random_sparse_blocks_matrix(), get_random_symm_matrix(), main(), sprandsym(), test1(), test2(), test3(), and test4().

◆ main()

Variable Documentation

◆ cols

◆ rows