ERC CISST - cisst software

vctDynamicVectorLoopEngines::VioSi< _elementOperationType > Class Template Reference

#include <vctDynamicVectorLoopEngines.h>

List of all members.


Detailed Description

template<class _elementOperationType>
class vctDynamicVectorLoopEngines::VioSi< _elementOperationType >

Implement operation of the form $ v_{io} = op(v_{io}, s_i)$ for dynamic vectors.

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

\[ v_{io} = \mathrm{op}(v_{io}, s_{i}) \]

where $v_{io}$ is the input output vector, and $s_{i}$ is the scalar input. op stands for the binary operation performed elementwise between $v_{io}[index]$ and $s_{i}$, and whose result is stored elementwise into $v_{io}[index]$.

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

Definition at line 480 of file vctDynamicVectorLoopEngines.h.

Static Public Member Functions


Member Function Documentation

template<class _elementOperationType>
template<class _inputOutputVectorType, class _inputScalarType>
static void vctDynamicVectorLoopEngines::VioSi< _elementOperationType >::Run ( _inputOutputVectorType &  inputOutputVector,
const _inputScalarType  inputScalar 
) [inline, static]

Unroll the loop

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

Definition at line 488 of file vctDynamicVectorLoopEngines.h.

References vctDynamicCompactLoopEngines::CioSi< _elementOperationType >::Run().


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