libstdc++: random.h File Reference

libstdc++

random.h File Reference

Go to the source code of this file.

## Classes
class | std::bernoulli_distribution
class | std::binomial_distribution< _IntType >
class | std::cauchy_distribution< _RealType >
class | std::chi_squared_distribution< _RealType >
class | std::discard_block_engine< _RandomNumberEngine, __p, __r >
class | std::discrete_distribution< _IntType >
class | std::exponential_distribution< _RealType >
class | std::extreme_value_distribution< _RealType >
class | std::fisher_f_distribution< _RealType >
class | std::gamma_distribution< _RealType >
class | std::geometric_distribution< _IntType >
class | std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >
class | std::linear_congruential_engine< _UIntType, __a, __c, __m >
class | std::lognormal_distribution< _RealType >
class | std::mersenne_twister_engine< _UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f >
class | std::negative_binomial_distribution< _IntType >
class | std::normal_distribution< _RealType >
struct | std::uniform_real_distribution< _RealType >::param_type
struct | std::normal_distribution< _RealType >::param_type
struct | std::lognormal_distribution< _RealType >::param_type
struct | std::gamma_distribution< _RealType >::param_type
struct | std::chi_squared_distribution< _RealType >::param_type
struct | std::cauchy_distribution< _RealType >::param_type
struct | std::fisher_f_distribution< _RealType >::param_type
struct | std::student_t_distribution< _RealType >::param_type
struct | std::bernoulli_distribution::param_type
struct | std::binomial_distribution< _IntType >::param_type
struct | std::geometric_distribution< _IntType >::param_type
struct | std::negative_binomial_distribution< _IntType >::param_type
struct | std::poisson_distribution< _IntType >::param_type
struct | std::exponential_distribution< _RealType >::param_type
struct | std::weibull_distribution< _RealType >::param_type
struct | std::extreme_value_distribution< _RealType >::param_type
struct | std::discrete_distribution< _IntType >::param_type
struct | std::piecewise_constant_distribution< _RealType >::param_type
struct | std::piecewise_linear_distribution< _RealType >::param_type
class | std::philox_engine< _UIntType, __w, __n, __r, __consts >
class | std::piecewise_constant_distribution< _RealType >
class | std::piecewise_linear_distribution< _RealType >
class | std::poisson_distribution< _IntType >
class | std::random_device
class | std::seed_seq
class | std::shuffle_order_engine< _RandomNumberEngine, __k >
class | std::student_t_distribution< _RealType >
class | std::subtract_with_carry_engine< _UIntType, __w, __s, __r >
class | std::uniform_real_distribution< _RealType >
class | std::weibull_distribution< _RealType >

## Namespaces
namespace | std
namespace | std::__detail

## Typedefs
template<typename _Tp>
using | std::__detail::__piecewise_distributions_storage_t
typedef minstd_rand0 | std::default_random_engine
typedef shuffle_order_engine< minstd_rand0, 256 > | std::knuth_b
typedef linear_congruential_engine< uint_fast32_t, 48271UL, 0UL, 2147483647UL > | std::minstd_rand
typedef linear_congruential_engine< uint_fast32_t, 16807UL, 0UL, 2147483647UL > | std::minstd_rand0
typedef mersenne_twister_engine< uint_fast32_t, 32, 624, 397, 31, 0x9908b0dfUL, 11, 0xffffffffUL, 7, 0x9d2c5680UL, 15, 0xefc60000UL, 18, 1812433253UL > | std::mt19937
typedef mersenne_twister_engine< uint_fast64_t, 64, 312, 156, 31, 0xb5026f5aa96619e9ULL, 29, 0x5555555555555555ULL, 17, 0x71d67fffeda60000ULL, 37, 0xfff7eee000000000ULL, 43, 6364136223846793005ULL > | std::mt19937_64
typedef philox_engine< uint_fast32_t, 32, 4, 10, 0xCD9E8D57, 0x9E3779B9, 0xD2511F53, 0xBB67AE85 > | std::philox4x32
typedef philox_engine< uint_fast64_t, 64, 4, 10, 0xCA5A826395121157, 0x9E3779B97F4A7C15, 0xD2E7470EE14C6C93, 0xBB67AE8584CAA73B > | std::philox4x64
typedef discard_block_engine< ranlux24_base, 223, 23 > | std::ranlux24
typedef subtract_with_carry_engine< uint_fast32_t, 24, 10, 24 > | std::ranlux24_base
typedef discard_block_engine< ranlux48_base, 389, 11 > | std::ranlux48
typedef subtract_with_carry_engine< uint_fast64_t, 48, 5, 12 > | std::ranlux48_base

## Functions
template<typename _RealType, size_t __bits, typename _UniformRandomNumberGenerator>
_RealType | std::generate_canonical (_UniformRandomNumberGenerator &__g)
template<typename _IntType, typename _CharT, typename _Traits>
std::basic_ostream< _CharT, _Traits > & | std::operator<< (std::basic_ostream< _CharT, _Traits > &, const std::uniform_int_distribution< _IntType > &)
template<typename _RealType, typename _CharT, typename _Traits>
std::basic_ostream< _CharT, _Traits > & | std::operator<< (std::basic_ostream< _CharT, _Traits > &, const std::uniform_real_distribution< _RealType > &)
template<typename _CharT, typename _Traits>
std::basic_ostream< _CharT, _Traits > & | std::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::bernoulli_distribution &__x)
template<typename _RealType, typename _CharT, typename _Traits>
std::basic_ostream< _CharT, _Traits > & | std::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::cauchy_distribution< _RealType > &__x)
template<typename _RealType, typename _CharT, typename _Traits>
std::basic_ostream< _CharT, _Traits > & | std::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::exponential_distribution< _RealType > &__x)
template<typename _RealType, typename _CharT, typename _Traits>
std::basic_ostream< _CharT, _Traits > & | std::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::extreme_value_distribution< _RealType > &__x)
template<typename _IntType, typename _CharT, typename _Traits>
std::basic_ostream< _CharT, _Traits > & | std::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::geometric_distribution< _IntType > &__x)
template<typename _RandomNumberEngine, size_t __w, typename _UIntType, typename _CharT, typename _Traits>
std::basic_ostream< _CharT, _Traits > & | std::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType > &__x)
template<typename _RealType, typename _CharT, typename _Traits>
std::basic_ostream< _CharT, _Traits > & | std::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::weibull_distribution< _RealType > &__x)
template<typename _IntType, typename _CharT, typename _Traits>
std::basic_istream< _CharT, _Traits > & | std::operator>> (std::basic_istream< _CharT, _Traits > &, std::uniform_int_distribution< _IntType > &)
template<typename _RealType, typename _CharT, typename _Traits>
std::basic_istream< _CharT, _Traits > & | std::operator>> (std::basic_istream< _CharT, _Traits > &, std::uniform_real_distribution< _RealType > &)
template<typename _CharT, typename _Traits>
std::basic_istream< _CharT, _Traits > & | std::operator>> (std::basic_istream< _CharT, _Traits > &__is, std::bernoulli_distribution &__x)
template<typename _RealType, typename _CharT, typename _Traits>
std::basic_istream< _CharT, _Traits > & | std::operator>> (std::basic_istream< _CharT, _Traits > &__is, std::cauchy_distribution< _RealType > &__x)
template<typename _RealType, typename _CharT, typename _Traits>
std::basic_istream< _CharT, _Traits > & | std::operator>> (std::basic_istream< _CharT, _Traits > &__is, std::exponential_distribution< _RealType > &__x)
template<typename _RealType, typename _CharT, typename _Traits>
std::basic_istream< _CharT, _Traits > & | std::operator>> (std::basic_istream< _CharT, _Traits > &__is, std::extreme_value_distribution< _RealType > &__x)
template<typename _IntType, typename _CharT, typename _Traits>
std::basic_istream< _CharT, _Traits > & | std::operator>> (std::basic_istream< _CharT, _Traits > &__is, std::geometric_distribution< _IntType > &__x)
template<typename _RealType, typename _CharT, typename _Traits>
std::basic_istream< _CharT, _Traits > & | std::operator>> (std::basic_istream< _CharT, _Traits > &__is, std::weibull_distribution< _RealType > &__x)

## Detailed Description

This is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include <random>.

Definition in file random.h.