mlpack
Namespaces | Functions | Variables
random.cpp File Reference

Declarations of global random number generators. More...

#include <random>
#include <mlpack/mlpack_export.hpp>
Include dependency graph for random.cpp:

Namespaces

 mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::math
 Miscellaneous math routines.
 

Functions

MLPACK_EXPORT std::uniform_real_distribution mlpack::math::randUniformDist (0.0, 1.0)
 
MLPACK_EXPORT std::normal_distribution mlpack::math::randNormalDist (0.0, 1.0)
 

Variables

MLPACK_EXPORT std::mt19937 mlpack::math::randGen
 MLPACK_EXPORT is required for global variables; it exports the symbols correctly on Windows.
 

Detailed Description

Declarations of global random number generators.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.