ERC CISST - cisst software

vctDynamicVectorLoopEngines::VoSiVi< _elementOperationType > Class Template Reference

#include <vctDynamicVectorLoopEngines.h>

List of all members.


Detailed Description

template<class _elementOperationType>
class vctDynamicVectorLoopEngines::VoSiVi< _elementOperationType >

Implement operation of the form $vo = op(si, vi)$ for dynamic vectors.

This class uses a loop to perform binary vector operations of the form

\[ v_o = \mathrm{op}(s_i, v_i) \]

where $v_o$ is the output vector, and $s_i, v_i$ are input scalar and vector, all vectors are of same size, op stands for the a binary operation performed elementwise between $s_i$ and $v_i$, and whose result is stored elementwise into $v_o$.

Parameters:
_elementOperationType The type of the binary operation.
See also:
vctDynamicVectorLoopEngines

Definition at line 404 of file vctDynamicVectorLoopEngines.h.

Static Public Member Functions


Member Function Documentation

template<class _elementOperationType>
template<class _outputVectorType, class _inputScalarType, class _inputVectorType>
static void vctDynamicVectorLoopEngines::VoSiVi< _elementOperationType >::Run ( _outputVectorType &  outputVector,
const _inputScalarType  inputScalar,
const _inputVectorType &  inputVector 
) [inline, static]

Unroll the loop

Parameters:
outputVector The output vector.
inputScalar The input scalar (first operand).
inputVector The input vector (second operand).

Definition at line 413 of file vctDynamicVectorLoopEngines.h.

References vctDynamicCompactLoopEngines::CoSiCi< _elementOperationType >::Run(), and vctDynamicVectorLoopEngines::ThrowException().


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu