Template Function mrpt::random::matrixRandomNormal

Function Documentation

template<class MAT>
void mrpt::random::matrixRandomNormal(MAT &matrix, const double mean = 0, const double std = 1)

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

See also

matrixRandomUni