cisst-saw
|
#include <vctDynamicVectorBase.h>
Public Types | |
typedef vctDynamicVectorRef < value_type > | Type |
Define a Subvector class for compatibility with the fixed size vectors. A subvector has the same stride as the parent container.
Example:
typedef vctDynamicVector<double> VectorType; VectorType v(9); VectorType::Subvector::Type first4(v, 0, 4); VectorType::Subvector::Type last5(v, 4, 5);
vctFixedSizeVectorRef<double, 3 /( add stride here if necessary )/> firstThree(v, 0); vctFixedSizeVectorRef<double, 3 /( add stride here if necessary )/> lastThree(v, 6);
typedef vctDynamicVectorRef<value_type> vctDynamicVectorBase< _vectorOwnerType, _elementType >::Subvector::Type |