#include <vctFixedSizeVectorRecursiveEngines.h>
for fixed size vectors.
This class uses template specialization to perform incremental binary vector operations of the form
where
is the output vector and
and
are the scalar output and input. The vector has a fixed size, determined at compilation time.
is the incremental operation using
and
. For a vector of size 3, the result is
.
This engines is currently used by vctFixedSizeVector::SetAll with vctBinaryOperations::SecondOperand. For a vector of size 3, the result is:
.
| _incrementalOperationType | The type of the incremental operation. |
Definition at line 787 of file vctFixedSizeVectorRecursiveEngines.h.
| static OutputType vctFixedSizeVectorRecursiveEngines< _size >::SoVoSi< _incrementalOperationType >::Unfold | ( | _outputVectorType & | outputVector, | |
| const _inputScalarType & | inputScalar | |||
| ) | [inline, static] |
Unfold the recursion. The incremental operation is applied to the result of the recursive Unfold call and the result of _incrementalOperationType(outputVector[_size], inputScalar).
| outputVector | The output vector (first operation of the incremental operation). | |
| inputScalar | The input scalar (second operand of the incremental operation). |
Definition at line 806 of file vctFixedSizeVectorRecursiveEngines.h.