20 #ifndef _vctRandomFixedSizeMatrix_h
21 #define _vctRandomFixedSizeMatrix_h
48 class _elementType,
class _dataPtrType>
50 _elementType, _dataPtrType> & matrix,
51 const _elementType min,
52 const _elementType max) {
55 const typename MatrixType::iterator end = matrix.
end();
56 typename MatrixType::iterator iter;
57 for (iter = matrix.begin(); iter != end; ++iter) {
63 #endif // _vctRandomFixedSizeMatrix_h
Portability across compilers and operating systems tools.
Declaration of vctFixedSizeMatrix.
Forward declarations and #define for cisstVector.
size_t size_type
Definition: vctContainerTraits.h:35
void ExtractRandomValue(_valueType &result)
static cmnRandomSequence & GetInstance(void)
Definition: cmnRandomSequence.h:138
A template for a fixed size matrix with fixed spacings in memory.
Definition: vctFixedSizeMatrixBase.h:58
iterator end()
Definition: vctFixedSizeMatrixBase.h:114
ptrdiff_t stride_type
Definition: vctContainerTraits.h:37
Randomization utilities for general use in CISST applications.
Provide an interface to a reproducible random sequence.
Definition: cmnRandomSequence.h:66
void vctRandom(vctFixedSizeMatrixBase< _rows, _cols, _rowStride, _colStride, _elementType, _dataPtrType > &matrix, const _elementType min, const _elementType max)
Definition: vctRandomFixedSizeMatrix.h:49