|
openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
Dense matrix class. More...
#include <dense_mat.hpp>
Public Member Functions | |
| dmat () | |
| empty constructor More... | |
| dmat (const short irows, const short icols) | |
| constructor that initializes the dimensions More... | |
| dmat (const dmat< S > &m) | |
| constructor that deep-copies a given dmat More... | |
| ~dmat () | |
| destructor More... | |
| void | set_size (const short irows, const short icols) |
| set the matrix dimensions More... | |
| dmat< S > & | operator= (dmat< S > &&m) |
| dmat< S > & | operator= (const dmat< S > &m) |
| const S * | operator[] (short ridx) const |
| [] operator returns the pointer to the beginning of a given row More... | |
| S * | operator[] (short ridx) |
| [] operator returns the pointer to the beginning of a given row More... | |
| void | operator+= (const dmat< S > &m) |
| void | operator-= (const dmat< S > &m) |
| void | operator*= (const S s) |
| void | operator/= (const S s) |
| void | assign (const dmat< S > &m) |
| copy a mtrix. More... | |
| void | assign (const S v) |
| set all entries to a value More... | |
| void | assign (const S *v) |
| set all entries to a value More... | |
| void | assign (const short irows, const short icols, const S v) |
| resize and set all entries to a value More... | |
| void | assign (const short irows, const short icols, const S *v) |
| resize and set all entries to a value More... | |
| void | diag (const S v) |
| set all diagonal entries to a value More... | |
| short | rows () const |
| short | cols () const |
| void | mult (const dmat< S > &in, dmat< S > &out) const |
| mat-mat multiplication More... | |
| double | double_cont (const dmat< S > &in) const |
| mat-mat double contraction More... | |
| void | mult (const S *in, S *out) |
| mat-vec multiplication More... | |
| void | mult_transp (const S *in, S *out) |
| void | transpose () |
| void | disp (const char *name) |
| S * | data () |
| const S * | data () const |
| bool | lu_decomp () |
| void | lu_solve (S *rhs) |
Dense matrix class.
| S | Floating point type. |
Definition at line 27 of file dense_mat.hpp.
empty constructor
Definition at line 37 of file dense_mat.hpp.
constructor that initializes the dimensions
Definition at line 40 of file dense_mat.hpp.
constructor that deep-copies a given dmat
Definition at line 45 of file dense_mat.hpp.
destructor
Definition at line 50 of file dense_mat.hpp.
copy a mtrix.
Definition at line 120 of file dense_mat.hpp.
|
inline |
set all entries to a value
Definition at line 133 of file dense_mat.hpp.
|
inline |
set all entries to a value
Definition at line 128 of file dense_mat.hpp.
|
inline |
resize and set all entries to a value
Definition at line 145 of file dense_mat.hpp.
|
inline |
resize and set all entries to a value
Definition at line 139 of file dense_mat.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 253 of file dense_mat.hpp.
|
inline |
set all diagonal entries to a value
Definition at line 152 of file dense_mat.hpp.
|
inline |
mat-mat double contraction
Definition at line 180 of file dense_mat.hpp.
|
inline |
Definition at line 258 of file dense_mat.hpp.
|
inline |
Definition at line 327 of file dense_mat.hpp.
mat-mat multiplication
Definition at line 167 of file dense_mat.hpp.
|
inline |
mat-vec multiplication
Definition at line 193 of file dense_mat.hpp.
|
inline |
Definition at line 203 of file dense_mat.hpp.
|
inline |
Definition at line 109 of file dense_mat.hpp.
Definition at line 95 of file dense_mat.hpp.
Definition at line 102 of file dense_mat.hpp.
|
inline |
Definition at line 114 of file dense_mat.hpp.
Definition at line 76 of file dense_mat.hpp.
Definition at line 68 of file dense_mat.hpp.
|
inline |
[] operator returns the pointer to the beginning of a given row
Definition at line 90 of file dense_mat.hpp.
|
inline |
[] operator returns the pointer to the beginning of a given row
Definition at line 85 of file dense_mat.hpp.
|
inline |
|
inline |
set the matrix dimensions
Definition at line 58 of file dense_mat.hpp.
|
inline |