#include <vctFixedSizeVectorRecursiveEngines.h>
for fixed size vectors.
This class uses template specialization to perform incremental unary vector operations of the form
where
is the input vector and
is the scalar output. The vector has a fixed size, determined at compilation time, op stands for the unary operation performed elementwise on
and whose result are used incrementally as input for
. For a vector of size 3, the result is
.
| _incrementalOperationType | The type of the incremental operation. | |
| _elementOperationType | The type of the unary operation. |
Definition at line 549 of file vctFixedSizeVectorRecursiveEngines.h.
| static OutputType vctFixedSizeVectorRecursiveEngines< _size >::SoVi< _incrementalOperationType, _elementOperationType >::Unfold | ( | _inputVectorType & | inputVector | ) | [inline, static] |
Unfold the recursion. Performs the operation _elementOperationType elementwise on the last elements of the input vector and call Unfold for the _size - 1 elements left (i.e. unfold the recursive calls). The incremental operation is applied to the result of the recursive Unfold call and the result of _elementOperationType(inputVector[_size]).
| inputVector | The input vector. |
Definition at line 566 of file vctFixedSizeVectorRecursiveEngines.h.