# random File Reference

## Detailed Description

This is a TR1 C++ Library header.

Definition in file random.

Go to the source code of this file.

## Namespaces

- namespace std
- namespace std::tr1
- namespace std::tr1::__detail

## Classes

- class std::tr1::bernoulli_distribution
    A Bernoulli random number distribution. More...
- class std::tr1::binomial_distribution< _IntType, _RealType >
    A discrete binomial random number distribution. More...
- class std::tr1::discard_block< _UniformRandomNumberGenerator, __p, __r >
- class std::tr1::exponential_distribution< _RealType >
    An exponential continuous distribution for random numbers. More...
- class std::tr1::gamma_distribution< _RealType >
    A gamma continuous distribution for random numbers. More...
- class std::tr1::geometric_distribution< _IntType, _RealType >
    A discrete geometric random number distribution. More...
- class std::tr1::linear_congruential< _UIntType, __a, __c, __m >
    A model of a linear congruential random number generator. More...
- class std::tr1::mersenne_twister< _UIntType, __w, __n, __m, __r, __a, __u, __s, __b, __t, __c, __l >
- class std::tr1::normal_distribution< _RealType >
    A normal continuous distribution for random numbers. More...
- class std::tr1::poisson_distribution< _IntType, _RealType >
    A discrete Poisson random number distribution. More...
- class std::tr1::random_device
- class std::tr1::subtract_with_carry< _IntType, __m, __s, __r >
    The Marsaglia-Zaman generator. More...
- class std::tr1::subtract_with_carry_01< _RealType, __w, __s, __r >
    The Marsaglia-Zaman generator (floats version). More...
- class std::tr1::uniform_int< _IntType >
    Uniform discrete distribution for random numbers. A discrete random distribution on the range with equal probability throughout the range. More...
- class std::tr1::uniform_real< _RealType >
    Uniform continuous distribution for random numbers. More...
- class std::tr1::variate_generator< _Engine, _Dist >
- class std::tr1::xor_combine< _UniformRandomNumberGenerator1, __s1, _UniformRandomNumberGenerator2, __s2 >

## Defines

- #define _TR1_RANDOM

## Typedefs

- typedef linear_congruential<
  unsigned long, 48271, 0, 2147483647 > std::tr1::minstd_rand
- typedef linear_congruential<
  unsigned long, 16807, 0, 2147483647 > std::tr1::minstd_rand0
- typedef mersenne_twister<
  unsigned long, 32, 624, 397, 31, 0x9908b0dful, 11, 7, 0x9d2c5680ul, 15, 0xefc60000ul, 18 > std::tr1::mt19937
- typedef discard_block< subtract_with_carry<
  unsigned long,(1UL<< 24), 10, 24 >, 223, 24 > std::tr1::ranlux3
- typedef discard_block< subtract_with_carry_01<
  float, 24, 10, 24 >, 223, 24 > std::tr1::ranlux3_01
- typedef discard_block< subtract_with_carry<
  unsigned long,(1UL<< 24), 10, 24 >, 389, 24 > std::tr1::ranlux4
- typedef discard_block< subtract_with_carry_01<
  float, 24, 10, 24 >, 389, 24 > std::tr1::ranlux4_01
- typedef subtract_with_carry_01<
  double, 48, 5, 12 > std::tr1::ranlux64_base_01
- typedef subtract_with_carry_01<
  float, 24, 10, 24 > std::tr1::ranlux_base_01