OpenWalnut
1.5.0dev
|
A class used for a test with different data storage, we use column major order. More...
#include <WMatrixFixed_test.h>
Public Member Functions | |
ValueT & | operator() (size_t row, size_t col) throw () |
Returns a reference to the component of an row and column in order to provide access to the component. More... | |
const ValueT & | operator() (size_t row, size_t col) const throw () |
Returns a const reference to the component of an row and column in order to provide access to the component. More... | |
template<typename RHSValueT , ValueStoreTemplate RHSValueStoreT> | |
ValueStore< ValueT, Rows, Cols > & | operator= (RHSValueStoreT< RHSValueT, Rows, Cols > const &rhs) |
Replaces the values in this array. More... | |
Public Attributes | |
boost::array< ValueT, Rows *Cols > | m_values |
The value array. Stored column-major. More... | |
A class used for a test with different data storage, we use column major order.
Definition at line 358 of file WMatrixFixed_test.h.
|
inline |
Returns a reference to the component of an row and column in order to provide access to the component.
It does not check for validity of the indices.
row | the row, staring with 0 |
col | the column, starting with 0 |
Definition at line 370 of file WMatrixFixed_test.h.
References WMatrixFixedTest::DifferentStorageType< ValueT, Rows, Cols >::m_values.
|
inline |
Returns a const reference to the component of an row and column in order to provide access to the component.
It does not check for validity of the indices.
row | the row, staring with 0 |
col | the column, starting with 0 |
Definition at line 385 of file WMatrixFixed_test.h.
References WMatrixFixedTest::DifferentStorageType< ValueT, Rows, Cols >::m_values.
|
inline |
Replaces the values in this array.
RHSValueT | the value type. This is casted to ValueT. |
RHSValueStoreT | The value store given |
rhs | the values to set. |
Definition at line 400 of file WMatrixFixed_test.h.
boost::array< ValueT, Rows * Cols > WMatrixFixedTest::DifferentStorageType< ValueT, Rows, Cols >::m_values |
The value array. Stored column-major.
Definition at line 413 of file WMatrixFixed_test.h.
Referenced by WMatrixFixedTest::DifferentStorageType< ValueT, Rows, Cols >::operator()().