|
DiFfRG
|
A simple NxM-matrix class, which is used for cell-wise Jacobians. More...
#include <tuples.hh>
Public Member Functions | |
| SimpleMatrix () | |
| NT & | operator() (const uint n, const uint m) |
| Access the matrix entry at (n,m). | |
| const NT & | operator() (const uint n, const uint m) const |
| Access the matrix entry at (n,m). | |
| void | clear () |
| Set all entries to zero. | |
| bool | is_finite () const |
| Check whether the matrix contains only finite values. | |
| void | print () const |
| Print the matrix to the console. | |
Private Attributes | |
| std::array< NT, N *M > | data |
A simple NxM-matrix class, which is used for cell-wise Jacobians.
|
inline |
|
inline |
Set all entries to zero.
|
inline |
Check whether the matrix contains only finite values.
|
inline |
Access the matrix entry at (n,m).
|
inline |
Access the matrix entry at (n,m).
|
inline |
Print the matrix to the console.
|
private |