#include <vctFixedSizeVectorRecursiveEngines.h>
for fixed size vectors.
This class uses template specialization to perform store-back vector-scalar-vector operations
where
is an input-output (store-back) vector;
is a scalar; and
is an input vector. A typical example is:
. The vectors have a fixed size, determined at compilation time;
is an operation between
and the elements of
;
is an operation between the output of
and the elements of
.
| _ioOperationType | The type of the store-back operation. | |
| _scalarVectorElementOperationType | The type of the operation between scalar and input vector. |
Definition at line 663 of file vctFixedSizeVectorRecursiveEngines.h.
| static void vctFixedSizeVectorRecursiveEngines< _size >::VioSiVi< _ioElementOperationType, _scalarVectorElementOperationType >::Unfold | ( | _ioVectorType & | ioVector, | |
| const _inputScalarType & | inputScalar, | |||
| const _inputVectorType & | inputVector | |||
| ) | [inline, static] |
Unfold the recursion. Performs the operation _elementOperationType elementwise on the last elements of the input vector and the input scalar 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], inputScalar[_size]).
| inputVector | The input vector (first operand for _elementOperationType). | |
| inputScalar | The input scalar (second operand for _elementOperationType). |
Definition at line 686 of file vctFixedSizeVectorRecursiveEngines.h.