|
cisst-saw
|
#include <vctFixedSizeVectorRecursiveEngines.h>
Public Types | |
| typedef vctFixedSizeVectorRecursiveEngines< _size-1 >::SelectByIndex | RecursiveStep |
Static Public Member Functions | |
| template<class _outputVectorType, class _inputVectorType, class _indexVectorType> | |
| static void | Unfold (_outputVectorType &output, const _inputVectorType &input, const _indexVectorType &index) |
A specialized engine to select elements from the input vector to the output vector.
| typedef vctFixedSizeVectorRecursiveEngines<_size-1>::SelectByIndex SelectByIndex::RecursiveStep |
|
inlinestatic |
Unfold the recursion: call Unfold for the first (_size - 1) elements, then assign value to the _size element.
| output | The output vector. |
| input | The input vector from which elements are selected. |
| index | The index vector. |