|
cisst-saw
|
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) |
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}\).
| _ioOperationType | The type of the store-back operation. |
| _scalarMatrixElementOperationType | The type of the operation between scalar and input matrix. |
|
inlinestatic |