Go to the documentation of this file.
38 #ifndef HEADER_CONSTANTS
39 #define HEADER_CONSTANTS
44 #endif //HEADER_CONSTANTS
void write_matrix_to_bin(const char *filename, const std::vector< int > &I, const std::vector< int > &J, const std::vector< real > &val, const int &N)
Definition: files_sparse_bin.cc:43
void get_matrix_from_full(std::vector< real > const &A, int N, int M, symmMatrix &X)
Definition: test.cc:73
File containing declarations of functions for reading/writing sparse matrices from/to mtx (MatrixMark...
Wrapper routines for different parts of the integral code, including conversion of matrices from/to t...
Definition of the main floating-point datatype used; the ergo_real type.
void init_matrix(Matrix &X, const int N, const int M)
Create hierarchical matrix structure.
Definition: test.cc:55
int computeEigenvectors(const MatrixType &A, Treal tol, std::vector< Treal > &eigVal, std::vector< VectorType > &eigVec, int number_of_eigenvalues_to_compute, std::string method, std::vector< int > &num_iter, int maxit=200, bool do_deflation=false)
Function for choosing method for computing eigenvectors.
Definition: get_eigenvectors.h:232
int main()
Definition: test.cc:81
double ergo_real
Definition: realtype.h:69
static void setNProcs(unsigned int const nP)
Definition: matInclude.h:112
int read_matrix_from_mtx(const char *filename, std::vector< int > &I, vector< int > &J, vector< real > &val, int &N, int &M)
Definition: files_sparse.cc:48
MatrixSymmetric< real, matri > symmMatrix
Definition: test_LanczosSeveralLargestEig.cc:69
ergo_real real
Definition: test.cc:46
#define SCALAR_TOL
Definition: test.cc:48
mat::SizesAndBlocks rows
Definition: test.cc:51
Treal template_blas_fabs(Treal x)
static void setMatrixParallelLevel(unsigned int const mPL)
Definition: matInclude.h:129
void resetSizesAndBlocks(SizesAndBlocks const &newRows)
Definition: VectorGeneral.h:51
Utilities related to the hierarchical matrix library (HML), including functions for setting up permut...
Definition: MatrixBase.h:55
mat::VectorGeneral< ergo_real, Vectorrr > generalVector
Definition: matrix_typedefs.h:76
mat::SizesAndBlocks cols
Definition: test.cc:52
Header file with typedefs for matrix and vector types. The levels of hierarchic matrices are defined ...
Describes dimensions of matrix and its blocks on all levels.
Definition: SizesAndBlocks.h:45
Class used to keep track of the block sizes used at different levels in the hierarchical matrix data ...
void read_matrix_from_bin(const char *filename, std::vector< int > &I, std::vector< int > &J, std::vector< real > &val, int &N, int &M)
Read data from the binary file.
Definition: files_sparse_bin.cc:147
File containing declaration of functions for reading/writing sparse matrices from/to binary files.
File containing declaration of functions for reading/writing dense matrices and vectors.
Defined namespace eigvec containing functions for computing largest eigenvalues and corresponding eig...
Functionality for writing output messages to a text file.
int write_matrix_to_mtx(const char *filename, const vector< int > &I, const vector< int > &J, const vector< real > &val, const int &N)
Definition: files_sparse.cc:151