ergo
|
Some general utilities used by other parts of the hierarchical matrix library. More...
#include <cassert>
Go to the source code of this file.
Namespaces | |
mat | |
Functions | |
template<class Treal > | |
static Treal | mat::maxdiff (const Treal *f1, const Treal *f2, int size) |
template<class Treal > | |
static Treal | mat::maxdiff_tri (const Treal *f1, const Treal *f2, int size) |
template<class Treal > | |
static Treal | mat::frobdiff (const Treal *f1, const Treal *f2, int size) |
template<typename Treal , typename Trealonfile > | |
static void | mat::fileread (Treal *ptr, int size, FILE *file) |
template<typename Treal , typename Tmatrix > | |
static void | mat::read_matrix (Tmatrix &A, char const *const matrixPath, int const size) |
template<typename Treal , typename Trealonfile , typename Tmatrix > | |
static void | mat::read_sparse_matrix (Tmatrix &A, char const *const rowPath, char const *const colPath, char const *const valPath, int const nval) |
template<typename Treal > | |
static void | mat::read_xyz (Treal *x, Treal *y, Treal *z, char *atomsPath, int const natoms, int const size) |
Some general utilities used by other parts of the hierarchical matrix library.