Template Function mrpt::random::matrixRandomUni

Function Documentation

template<class MAT>
void mrpt::random::matrixRandomUni(MAT &matrix, const double min = 0, const double max = 1)

Fills the given matrix with independent, uniformly distributed samples. Matrix classes can be mrpt::math::CMatrixDynamic or mrpt::math::CMatrixFixed