HermesCommon
3.0
|
Dense (small) simply stored matrix operations. More...
#include "common.h"
#include "util/compat.h"
#include "util/memory_handling.h"
#include "exceptions.h"
Go to the source code of this file.
Namespaces | |
Hermes | |
General namespace for the Hermes library. | |
Hermes::Algebra | |
Namespace containing classes for vector / matrix operations. | |
Hermes::Algebra::DenseMatrixOperations | |
Contains operation on dense matrices. | |
Functions | |
template<typename T > | |
T ** | Hermes::Algebra::DenseMatrixOperations::new_matrix (unsigned int m, unsigned int n=0) |
template<typename T > | |
T ** | Hermes::Algebra::DenseMatrixOperations::new_matrix_malloc (unsigned int m, unsigned int n=0) |
template<typename T > | |
void | Hermes::Algebra::DenseMatrixOperations::copy_matrix (T **dest, T **src, unsigned int m, unsigned int n=0) |
template<typename T > | |
void | Hermes::Algebra::DenseMatrixOperations::save_matrix_octave (const std::string &matrix_name, T **matrix, unsigned int m, unsigned int n=0, const std::string &filename=std::string()) |
Saves a dense matrix to a octave file format. More... | |
template<typename T > | |
void | Hermes::Algebra::DenseMatrixOperations::save_sparse_matrix_octave (const std::string &matrix_name, const T *Ax, const int *Ap, const int *Ai, unsigned int m, const std::string &filename=std::string()) |
Saves MxM sparse matrix to a octave file format. | |
template<typename T > | |
void | Hermes::Algebra::DenseMatrixOperations::transpose (T **matrix, unsigned int m, unsigned int n) |
template<typename T > | |
void | Hermes::Algebra::DenseMatrixOperations::transpose (T *matrix, unsigned int m, unsigned int n, unsigned int size) |
template<typename T > | |
void | Hermes::Algebra::DenseMatrixOperations::change_sign (T **matrix, unsigned int m, unsigned int n) |
Changes the sign of a matrix. | |
template<typename T > | |
void | Hermes::Algebra::DenseMatrixOperations::change_sign (T *matrix, unsigned int m, unsigned int n, unsigned int size) |
Changes the sign of an array. | |
template<typename T , typename Int > | |
HERMES_API void | Hermes::Algebra::DenseMatrixOperations::ludcmp (T **a, Int n, Int *indx, double *d) |
template<typename T , typename S , typename Int > | |
HERMES_API void | Hermes::Algebra::DenseMatrixOperations::lubksb (T **a, Int n, Int *indx, S *b) |
template<typename T , typename Int > | |
HERMES_API void | Hermes::Algebra::DenseMatrixOperations::choldc (T **a, Int n, T p[]) |
template<typename T , typename Int > | |
void | Hermes::Algebra::DenseMatrixOperations::cholsl (double **a, Int n, double p[], T b[], T x[]) |
Dense (small) simply stored matrix operations.
Definition in file dense_matrix_operations.h.