OpenWalnut  1.4.0
Public Member Functions | Public Attributes
WMatrixFixedTest::DifferentStorageType< ValueT, Rows, Cols > Class Template Reference

A class used for a test with different data storage, we use column major order. More...

#include <WMatrixFixed_test.h>

List of all members.

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.
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.
template<typename RHSValueT , ValueStoreTemplate RHSValueStoreT>
ValueStore< ValueT, Rows, Cols > & operator= (RHSValueStoreT< RHSValueT, Rows, Cols > const &rhs)
 Replaces the values in this array.

Public Attributes

boost::array< ValueT, Rows *Cols > m_values
 The value array. Stored column-major.

Detailed Description

template<typename ValueT, size_t Rows, size_t Cols>
class WMatrixFixedTest::DifferentStorageType< ValueT, Rows, Cols >

A class used for a test with different data storage, we use column major order.

Definition at line 358 of file WMatrixFixed_test.h.


Member Function Documentation

template<typename ValueT , size_t Rows, size_t Cols>
ValueT& WMatrixFixedTest::DifferentStorageType< ValueT, Rows, Cols >::operator() ( size_t  row,
size_t  col 
) throw () [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.

Parameters:
rowthe row, staring with 0
colthe column, starting with 0
Returns:
A reference to the component of an row and column.

Definition at line 370 of file WMatrixFixed_test.h.

References WMatrixFixedTest::DifferentStorageType< ValueT, Rows, Cols >::m_values.

template<typename ValueT , size_t Rows, size_t Cols>
const ValueT& WMatrixFixedTest::DifferentStorageType< ValueT, Rows, Cols >::operator() ( size_t  row,
size_t  col 
) const throw () [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.

Parameters:
rowthe row, staring with 0
colthe column, starting with 0
Returns:
A const reference to the component of an row and column.

Definition at line 385 of file WMatrixFixed_test.h.

References WMatrixFixedTest::DifferentStorageType< ValueT, Rows, Cols >::m_values.

template<typename ValueT , size_t Rows, size_t Cols>
template<typename RHSValueT , ValueStoreTemplate RHSValueStoreT>
ValueStore< ValueT, Rows, Cols >& WMatrixFixedTest::DifferentStorageType< ValueT, Rows, Cols >::operator= ( RHSValueStoreT< RHSValueT, Rows, Cols > const &  rhs) [inline]

Replaces the values in this array.

Template Parameters:
RHSValueTthe value type. This is casted to ValueT.
RHSValueStoreTThe value store given
Parameters:
rhsthe values to set.
Returns:
this

Definition at line 400 of file WMatrixFixed_test.h.


Member Data Documentation

template<typename ValueT , size_t Rows, size_t Cols>
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()().


The documentation for this class was generated from the following file: