SYNOPSIS
Namespaces
mlpack
Linear algebra utility functions, generally performed on matrices or vectors.
mlpack::math
Miscellaneous math routines.
Functions
int mlpack::math::RandInt (const int hiExclusive)
Generates a uniform random integer.
int mlpack::math::RandInt (const int lo, const int hiExclusive)
Generates a uniform random integer.
double mlpack::math::RandNormal ()
Generates a normally distributed random number with mean 0 and variance 1.
double mlpack::math::RandNormal (const double mean, const double variance)
Generates a normally distributed random number with specified mean and variance.
double mlpack::math::Random ()
Generates a uniform random number between 0 and 1.
double mlpack::math::Random (const double lo, const double hi)
Generates a uniform random number in the specified range.
void mlpack::math::RandomSeed (const size_t seed)
Set the random seed used by the random functions (Random() and RandInt()).
Variables
boost::mt19937 mlpack::math::randGen
boost::normal_distribution mlpack::math::randNormalDist
boost::uniform_01
< boost::mt19937, double > mlpack::math::randUniformDist"
Detailed Description
Miscellaneous math random-related routines.
This file is part of MLPACK 1.0.9.
MLPACK is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
MLPACK is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details (LICENSE.txt).
You should have received a copy of the GNU General Public License along with MLPACK. If not, see http://www.gnu.org/licenses/.
Definition in file random.hpp.
Author
Generated automatically by Doxygen for MLPACK from the source code.