cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
vctDynamicMatrixLoopEngines::MioSiMi< _ioElementOperationType, _scalarMatrixElementOperationType > Class Template Reference

Implement operation of the form $m_{io} = op_{io}(m_{io}, op_{sm}(s, m_i))$ for fixed size matrices. More...

#include <vctDynamicMatrixLoopEngines.h>

Static Public Member Functions

template<class _ioMatrixType , class _inputScalarType , class _inputMatrixType >
static void Run (_ioMatrixType &ioMatrix, const _inputScalarType &inputScalar, const _inputMatrixType &inputMatrix)
 

Detailed Description

template<class _ioElementOperationType, class _scalarMatrixElementOperationType>
class vctDynamicMatrixLoopEngines::MioSiMi< _ioElementOperationType, _scalarMatrixElementOperationType >

Implement operation of the form $m_{io} = op_{io}(m_{io}, op_{sm}(s, m_i))$ for fixed size matrices.

This class uses template specialization to perform store-back matrix-scalar-matrix operations

\[ m_{io} = \mathrm{op_{io}}(m_{io}, \mathrm{op_{sm}}(s, m_i)) \]

where $m_{io}$ is an input-output (store-back) matrix; $s$ is a scalar; and $m_i$ is an input matrix. A typical example is: $m_{io} += s \cdot m_i$. The matrices have a fixed size, determined at compilation time; $op_{sm}$ is an operation between $s$ and the elements of $m_i$; $op_{io}$ is an operation between the output of $op_{sm}$ and the elements of $m_{io}$.

Parameters
_ioOperationTypeThe type of the store-back operation.
_scalarMatrixElementOperationTypeThe type of the operation between scalar and input matrix.
See Also
vctFixedSizeMatrixRecursiveEngines

Member Function Documentation

template<class _ioElementOperationType , class _scalarMatrixElementOperationType >
template<class _ioMatrixType , class _inputScalarType , class _inputMatrixType >
static void vctDynamicMatrixLoopEngines::MioSiMi< _ioElementOperationType, _scalarMatrixElementOperationType >::Run ( _ioMatrixType &  ioMatrix,
const _inputScalarType &  inputScalar,
const _inputMatrixType &  inputMatrix 
)
inlinestatic

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