Random Number Generation(3)

NAME
Random Number Generation -

  Namespaces
namespace std::__detail

  Modules
Random Number Generators
Random Number Distributions
Random Number Utilities

  Functions
template<typename _RealType , size_t __bits, typename _UniformRandomNumberGenerator > _RealType std::generate_canonical (_UniformRandomNumberGenerator &__g)

Detailed Description

A facility for generating random numbers on selected distributions.

Function Documentation

  template<typename _RealType , size_t __bits, typename _UniformRandomNumberGenerator > _RealType std::generate_canonical (_UniformRandomNumberGenerator & __g) [inline]

A function template for converting the output of a (integral) uniform random number generator to a floatng point result in the range [0-1).

Definition at line 2760 of file bits/random.tcc.

References std::log10(), and std::min().

Author

Generated automatically by Doxygen for libstdc++ from the source code.