ERC CISST - cisst software

vctFixedSizeVectorRecursiveEngines< _size >::VioSi< _elementOperationType > Class Template Reference

#include <vctFixedSizeVectorRecursiveEngines.h>

List of all members.


Detailed Description

template<vct::size_type _size>
template<class _elementOperationType>
class vctFixedSizeVectorRecursiveEngines< _size >::VioSi< _elementOperationType >

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

This class uses template specialization 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. The vector has a fixed size, determined at compilation time, 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:
vctFixedSizeVectorRecursiveEngines

Definition at line 412 of file vctFixedSizeVectorRecursiveEngines.h.

Public Types

Static Public Member Functions


Member Function Documentation

template<vct::size_type _size>
template<class _elementOperationType>
template<class _inputOutputVectorType, class _inputScalarType>
static void vctFixedSizeVectorRecursiveEngines< _size >::VioSi< _elementOperationType >::Unfold ( _inputOutputVectorType &  inputOutput,
const _inputScalarType  inputScalar 
) [inline, static]

Unfold the recursion. Performs the operation _elementOperationType elementwise on the last elements of the input output vector and the input scalar and call Unfold for the _size - 1 elements left (i.e. unfold the recursive calls).

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

Definition at line 427 of file vctFixedSizeVectorRecursiveEngines.h.


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