|
OpenMEEG
|
#include <sparse_matrix.h>


Public Types | |
| typedef std::map< std::pair< size_t, size_t >, double > | Tank |
| typedef Tank::const_iterator | const_iterator |
| typedef Tank::iterator | iterator |
| Public Types inherited from OpenMEEG::LinOpInfo | |
| enum | StorageType { FULL , SYMMETRIC , BLOCK , BLOCK_SYMMETRIC , SPARSE } |
| typedef maths::MathsIO * | IO |
Public Member Functions | |
| SparseMatrix () | |
| SparseMatrix (const char *fname) | |
| SparseMatrix (const size_t N, const size_t M) | |
| ~SparseMatrix () | |
| double | operator() (const size_t i, const size_t j) const |
| double & | operator() (size_t i, size_t j) |
| size_t | size () const |
| const_iterator | begin () const |
| const_iterator | end () const |
| SparseMatrix | transpose () const |
| const Tank & | tank () const |
| void | set (const double d) |
| Vector | getlin (const size_t i) const |
| void | setlin (const Vector &v, const size_t i) |
| void | save (const char *filename) const |
| void | load (const char *filename) |
| void | save (const std::string &s) const |
| void | load (const std::string &s) |
| void | info () const |
| double | frobenius_norm () const |
| Vector | operator* (const Vector &x) const |
| Matrix | operator* (const SymMatrix &m) const |
| Matrix | operator* (const Matrix &m) const |
| SparseMatrix | operator* (const SparseMatrix &m) const |
| SparseMatrix | operator+ (const SparseMatrix &m) const |
| Public Member Functions inherited from OpenMEEG::LinOp | |
| LinOp () | |
| LinOp (const Dimension m, const Dimension n, const StorageType st, const unsigned d) | |
| Public Member Functions inherited from OpenMEEG::LinOpInfo | |
| LinOpInfo () | |
| LinOpInfo (const Dimension m, const Dimension n, const StorageType st, const unsigned d) | |
| virtual | ~LinOpInfo () |
| Dimension | nlin () const |
| Dimension & | nlin () |
| virtual Dimension | ncol () const |
| Dimension & | ncol () |
| StorageType | storageType () const |
| StorageType & | storageType () |
| unsigned | dimension () const |
| unsigned & | dimension () |
| IO & | default_io () |
Additional Inherited Members | |
| Protected Attributes inherited from OpenMEEG::LinOpInfo | |
| Dimension | num_lines |
| Dimension | num_cols |
| StorageType | storage |
| unsigned | dim |
| IO | DefaultIO = nullptr |
Definition at line 26 of file sparse_matrix.h.
| typedef std::map<std::pair<size_t,size_t>,double> OpenMEEG::SparseMatrix::Tank |
Definition at line 29 of file sparse_matrix.h.
| typedef Tank::const_iterator OpenMEEG::SparseMatrix::const_iterator |
Definition at line 30 of file sparse_matrix.h.
| typedef Tank::iterator OpenMEEG::SparseMatrix::iterator |
Definition at line 31 of file sparse_matrix.h.
|
inline |
Definition at line 33 of file sparse_matrix.h.
|
inline |
Definition at line 34 of file sparse_matrix.h.
|
inline |
Definition at line 35 of file sparse_matrix.h.
|
inline |
Definition at line 36 of file sparse_matrix.h.
|
inline |
Definition at line 38 of file sparse_matrix.h.
|
inline |
Definition at line 45 of file sparse_matrix.h.
|
inlinevirtual |
Implements OpenMEEG::LinOp.
Definition at line 51 of file sparse_matrix.h.
|
inline |
Definition at line 55 of file sparse_matrix.h.
|
inline |
Definition at line 56 of file sparse_matrix.h.
| SparseMatrix OpenMEEG::SparseMatrix::transpose | ( | ) | const |
|
inline |
Definition at line 60 of file sparse_matrix.h.
|
inline |
Definition at line 62 of file sparse_matrix.h.
|
inline |
Definition at line 67 of file sparse_matrix.h.
|
inline |
Definition at line 77 of file sparse_matrix.h.
|
inline |
Definition at line 83 of file sparse_matrix.h.
|
inline |
Definition at line 92 of file sparse_matrix.h.
|
inline |
Definition at line 101 of file sparse_matrix.h.
|
inline |
Definition at line 102 of file sparse_matrix.h.
|
virtual |
Implements OpenMEEG::LinOp.
| double OpenMEEG::SparseMatrix::frobenius_norm | ( | ) | const |
| SparseMatrix OpenMEEG::SparseMatrix::operator* | ( | const SparseMatrix & | m | ) | const |
| SparseMatrix OpenMEEG::SparseMatrix::operator+ | ( | const SparseMatrix & | m | ) | const |