20 #ifndef _vctRandomFixedSizeVector_h
21 #define _vctRandomFixedSizeVector_h
46 template <vct::
size_type _size, vct::str
ide_type _str
ide,
class _elementType,
class _dataPtrType>
48 const _elementType min,
49 const _elementType max) {
52 const typename VectorType::iterator end = vector.
end();
53 typename VectorType::iterator iter;
54 for (iter = vector.
begin(); iter != end; ++iter) {
60 #endif // _vctRandomFixedSizeVector_h
Portability across compilers and operating systems tools.
Forward declarations and #define for cisstVector.
void ExtractRandomValue(_valueType &result)
iterator begin(void)
Definition: vctFixedSizeVectorBase.h:117
void vctRandom(vctFixedSizeVectorBase< _size, _stride, _elementType, _dataPtrType > &vector, const _elementType min, const _elementType max)
Definition: vctRandomFixedSizeVector.h:47
static cmnRandomSequence & GetInstance(void)
Definition: cmnRandomSequence.h:138
iterator end(void)
Definition: vctFixedSizeVectorBase.h:130
Declaration of vctFixedSizeVector.
A template for a fixed length vector with fixed spacing in memory.
Definition: vctFixedSizeVectorBase.h:76
Randomization utilities for general use in CISST applications.
Provide an interface to a reproducible random sequence.
Definition: cmnRandomSequence.h:66