SimpleMatrix< NT, N, M > Class Template Reference#
|
DiFfRG
|
DiFfRG::SimpleMatrix< NT, N, M > Class Template Reference
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 |
| void | print () const |
| Print the matrix to the console. | |
Private Attributes | |
| std::array< NT, N *M > | data |
Detailed Description
A simple NxM-matrix class, which is used for cell-wise Jacobians.
Constructor & Destructor Documentation
◆ SimpleMatrix()
|
inline |
Member Function Documentation
◆ clear()
|
inline |
Set all entries to zero.
◆ is_finite()
|
inline |
◆ operator()() [1/2]
|
inline |
Access the matrix entry at (n,m).
◆ operator()() [2/2]
|
inline |
Access the matrix entry at (n,m).
◆ print()
|
inline |
Print the matrix to the console.
Member Data Documentation
◆ data
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/tuples.hh
Generated by