#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"
Defines | |
#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 |
#define SCALAR_TOL template_blas_sqrt(mat::getMachineEpsilon<real>()) |
Referenced by main().
void get_matrix_from_full | ( | std::vector< real > const & | A, | |
int | N, | |||
int | M, | |||
symmMatrix & | X | |||
) |
Referenced by main().
void init_matrix | ( | Matrix & | X, | |
const int | N, | |||
const int | M | |||
) | [inline] |
Create hierarchical matrix structure.
Matrix | type of the matrix (ex. symmMatrix) |
!!
int main | ( | ) |
Referenced by assign_from_full_matrix(), PurificationGeneral< MatrixType >::compute_eigenvectors_without_diagonalization_last_iter_proj(), mat::MatrixTriangular< Treal, Tmatrix >::eucl(), mat::MatrixSymmetric< Treal, Tmatrix >::eucl(), mat::MatrixGeneral< Treal, Tmatrix >::eucl(), mat::euclIfSmall(), mat::EuclTruncationBase< Tmatrix, Treal >::EuclTruncationBase(), mat::Matrix< Treal >::frob_squared_thresh(), Ordering_row_wise::get(), get_all_matrix_elements_nosymm(), SCF_restricted::get_expected_values_pos_operator(), get_Huckel_matrix_periodic(), mat::MatrixSymmetric< Treal, Tmatrix >::getSizesAndBlocksForFrobNormMat(), init_matrix(), main(), mainFun(), print_matrix(), PurificationGeneral< MatrixType >::set_eigenvectors_params(), and sprandsym().
Referenced by assign_from_full_matrix(), PurificationGeneral< MatrixType >::compute_eigenvector(), PurificationGeneral< MatrixType >::compute_eigenvectors_without_diagonalization_last_iter_proj(), PurificationGeneral< MatrixType >::compute_eigenvectors_without_diagonalization_on_F(), mat::EuclTruncationBase< Tmatrix, Treal >::EuclTruncationBase(), mat::Matrix< Treal >::frob_squared_thresh(), Ordering_col_wise::get(), get_all_matrix_elements_nosymm(), SCF_restricted::get_expected_values_pos_operator(), get_Huckel_matrix_periodic(), mat::MatrixSymmetric< Treal, Tmatrix >::getSizesAndBlocksForFrobNormMat(), init_matrix(), main(), mainFun(), print_matrix(), and sprandsym().