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 42 of file dense_mat.hpp.
empty constructor
Definition at line 52 of file dense_mat.hpp.
constructor that initializes the dimensions
Definition at line 55 of file dense_mat.hpp.
constructor that deep-copies a given dmat
Definition at line 60 of file dense_mat.hpp.
destructor
Definition at line 65 of file dense_mat.hpp.
copy a mtrix.
Definition at line 135 of file dense_mat.hpp.
|
inline |
set all entries to a value
Definition at line 143 of file dense_mat.hpp.
|
inline |
set all entries to a value
Definition at line 148 of file dense_mat.hpp.
|
inline |
resize and set all entries to a value
Definition at line 154 of file dense_mat.hpp.
|
inline |
resize and set all entries to a value
Definition at line 160 of file dense_mat.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 268 of file dense_mat.hpp.
|
inline |
set all diagonal entries to a value
Definition at line 167 of file dense_mat.hpp.
|
inline |
mat-mat double contraction
Definition at line 195 of file dense_mat.hpp.
|
inline |
Definition at line 273 of file dense_mat.hpp.
|
inline |
Definition at line 342 of file dense_mat.hpp.
mat-mat multiplication
Definition at line 182 of file dense_mat.hpp.
|
inline |
mat-vec multiplication
Definition at line 208 of file dense_mat.hpp.
|
inline |
Definition at line 218 of file dense_mat.hpp.
|
inline |
Definition at line 124 of file dense_mat.hpp.
Definition at line 110 of file dense_mat.hpp.
Definition at line 117 of file dense_mat.hpp.
|
inline |
Definition at line 129 of file dense_mat.hpp.
Definition at line 83 of file dense_mat.hpp.
Definition at line 91 of file dense_mat.hpp.
|
inline |
[] operator returns the pointer to the beginning of a given row
Definition at line 100 of file dense_mat.hpp.
|
inline |
[] operator returns the pointer to the beginning of a given row
Definition at line 105 of file dense_mat.hpp.
|
inline |
|
inline |
set the matrix dimensions
Definition at line 73 of file dense_mat.hpp.
|
inline |