![]() |
OpenLB 1.8.1
|
Matrix with a defined number of ROWS and columns (COLS) More...
#include <matrix.h>
Collaboration diagram for olb::Matrix< T, ROWS, COLS >:Public Member Functions | |
| constexpr | Matrix () |
| constexpr | Matrix (const T data[ROWS][COLS]) |
| template<unsigned V_SIZE> | |
| constexpr | Matrix (const Vector< T, V_SIZE > &vector) |
| Create matrix from olb::Vector. | |
| constexpr | Matrix (const Matrix< T, ROWS, COLS > &matrix) |
| constexpr Matrix & | operator= (const Matrix &matrix) |
| constexpr | Matrix (Matrix &&matrix) |
| constexpr Matrix & | operator= (Matrix &&matrix) |
| constexpr T * | data () |
| constexpr const T * | data () const |
| constexpr Vector< T, COLS > & | operator[] (const unsigned row) |
| constexpr const Vector< T, COLS > & | operator[] (const unsigned row) const |
| template<unsigned C> | |
| constexpr Matrix | operator* (const Matrix< T, COLS, C > &matrix) const |
| constexpr Vector< T, COLS > | operator* (const Vector< T, COLS > &vector) const |
| constexpr Matrix< T, COLS, ROWS > | transpose () const |
Static Public Attributes | |
| static constexpr unsigned | rows = ROWS |
| number of rows | |
| static constexpr unsigned | cols = COLS |
| number of columns | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Matrix &matrix) |
Matrix with a defined number of ROWS and columns (COLS)
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 44 of file matrix.h.
References olb::Matrix< T, ROWS, COLS >::data().
Here is the call graph for this function:
|
inlineconstexpr |
Create matrix from olb::Vector.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 82 of file matrix.h.
References olb::Vector< T, Size >::data().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineconstexpr |
Definition at line 83 of file matrix.h.
References olb::Vector< T, Size >::data().
Here is the call graph for this function:
|
inlineconstexpr |
Definition at line 103 of file matrix.h.
References olb::Matrix< T, ROWS, COLS >::operator[]().
Here is the call graph for this function:
|
inlineconstexpr |
Definition at line 118 of file matrix.h.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
friend |
|
staticconstexpr |
|
staticconstexpr |