std::tr1(3)

NAME
std::tr1 - ISO C++ TR1 entities toplevel namespace is std::tr1.

SYNOPSIS

  Namespaces
namespace __detail

  Classes
struct _Tuple_impl< _Idx >
struct _Tuple_impl< _Idx, _Head, _Tail...>
class bernoulli_distribution
A Bernoulli random number distribution.
class binomial_distribution
A discrete binomial random number distribution.
class discard_block
class exponential_distribution
An exponential continuous distribution for random numbers.
class gamma_distribution
A gamma continuous distribution for random numbers.
class geometric_distribution
A discrete geometric random number distribution.
class linear_congruential
A model of a linear congruential random number generator.
class normal_distribution
A normal continuous distribution for random numbers.
class poisson_distribution
A discrete Poisson random number distribution.
class random_device
struct tuple_element< 0, tuple< _Head, _Tail...> >
struct tuple_element< __i, tuple< _Head, _Tail...> >
struct tuple_size< tuple< _Elements...> >
class tuple_size
class uniform_int
Uniform discrete distribution for random numbers. A discrete random distribution on the range $[min, max]$ with equal probability throughout the range.
class uniform_real
Uniform continuous distribution for random numbers.
class variate_generator
class xor_combine

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

  Functions
template<int __i, typename _Head , typename... _Tail> __add_c_ref< _Head >::type __get_helper (const _Tuple_impl< __i, _Head, _Tail...> &__t)
template<int __i, typename _Head , typename... _Tail> __add_ref< _Head >::type __get_helper (_Tuple_impl< __i, _Head, _Tail...> &__t)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type assoc_laguerre (unsigned int __n, unsigned int __m, _Tp __x)
float assoc_laguerref (unsigned int __n, unsigned int __m, float __x)
long double assoc_laguerrel (unsigned int __n, unsigned int __m, long double __x)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type assoc_legendre (unsigned int __l, unsigned int __m, _Tp __x)
float assoc_legendref (unsigned int __l, unsigned int __m, float __x)
long double assoc_legendrel (unsigned int __l, unsigned int __m, long double __x)
template<typename _Tpx , typename _Tpy > __gnu_cxx::__promote_2< _Tpx, _Tpy >::__type beta (_Tpx __x, _Tpy __y)
float betaf (float __x, float __y)
long double betal (long double __x, long double __y)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type comp_ellint_1 (_Tp __k)
float comp_ellint_1f (float __k)
long double comp_ellint_1l (long double __k)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type comp_ellint_2 (_Tp __k)
float comp_ellint_2f (float __k)
long double comp_ellint_2l (long double __k)
template<typename _Tp , typename _Tpn > __gnu_cxx::__promote_2< _Tp, _Tpn >::__type comp_ellint_3 (_Tp __k, _Tpn __nu)
float comp_ellint_3f (float __k, float __nu)
long double comp_ellint_3l (long double __k, long double __nu)
template<typename _Tpa , typename _Tpc , typename _Tp > __gnu_cxx::__promote_3< _Tpa, _Tpc, _Tp >::__type conf_hyperg (_Tpa __a, _Tpc __c, _Tp __x)
float conf_hypergf (float __a, float __c, float __x)
long double conf_hypergl (long double __a, long double __c, long double __x)
template<typename _Tpnu , typename _Tp > __gnu_cxx::__promote_2< _Tpnu, _Tp >::__type cyl_bessel_i (_Tpnu __nu, _Tp __x)
float cyl_bessel_if (float __nu, float __x)
long double cyl_bessel_il (long double __nu, long double __x)
template<typename _Tpnu , typename _Tp > __gnu_cxx::__promote_2< _Tpnu, _Tp >::__type cyl_bessel_j (_Tpnu __nu, _Tp __x)
float cyl_bessel_jf (float __nu, float __x)
long double cyl_bessel_jl (long double __nu, long double __x)
template<typename _Tpnu , typename _Tp > __gnu_cxx::__promote_2< _Tpnu, _Tp >::__type cyl_bessel_k (_Tpnu __nu, _Tp __x)
float cyl_bessel_kf (float __nu, float __x)
long double cyl_bessel_kl (long double __nu, long double __x)
template<typename _Tpnu , typename _Tp > __gnu_cxx::__promote_2< _Tpnu, _Tp >::__type cyl_neumann (_Tpnu __nu, _Tp __x)
float cyl_neumannf (float __nu, float __x)
long double cyl_neumannl (long double __nu, long double __x)
template<typename _Tp , typename _Tpp > __gnu_cxx::__promote_2< _Tp, _Tpp >::__type ellint_1 (_Tp __k, _Tpp __phi)
float ellint_1f (float __k, float __phi)
long double ellint_1l (long double __k, long double __phi)
template<typename _Tp , typename _Tpp > __gnu_cxx::__promote_2< _Tp, _Tpp >::__type ellint_2 (_Tp __k, _Tpp __phi)
float ellint_2f (float __k, float __phi)
long double ellint_2l (long double __k, long double __phi)
template<typename _Tp , typename _Tpn , typename _Tpp > __gnu_cxx::__promote_3< _Tp, _Tpn, _Tpp >::__type ellint_3 (_Tp __k, _Tpn __nu, _Tpp __phi)
float ellint_3f (float __k, float __nu, float __phi)
long double ellint_3l (long double __k, long double __nu, long double __phi)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type expint (_Tp __x)
float expintf (float __x)
long double expintl (long double __x)
template<int __i, typename... _Elements> __add_c_ref< typename tuple_element< __i, tuple< _Elements...> >::type >::type get (const tuple< _Elements...> &__t)
template<int __i, typename... _Elements> __add_ref< typename tuple_element< __i, tuple< _Elements...> >::type >::type get (tuple< _Elements...> &__t)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type hermite (unsigned int __n, _Tp __x)
float hermitef (unsigned int __n, float __x)
long double hermitel (unsigned int __n, long double __x)
template<typename _Tpa , typename _Tpb , typename _Tpc , typename _Tp > __gnu_cxx::__promote_4< _Tpa, _Tpb, _Tpc, _Tp >::__type hyperg (_Tpa __a, _Tpb __b, _Tpc __c, _Tp __x)
float hypergf (float __a, float __b, float __c, float __x)
long double hypergl (long double __a, long double __b, long double __c, long double __x)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type laguerre (unsigned int __n, _Tp __x)
float laguerref (unsigned int __n, float __x)
long double laguerrel (unsigned int __n, long double __x)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type legendre (unsigned int __n, _Tp __x)
float legendref (unsigned int __n, float __x)
long double legendrel (unsigned int __n, long double __x)
template<typename... _Elements> tuple< typename __strip_reference_wrapper< _Elements >::__type...> make_tuple (_Elements...__args)
template<typename... _TElements, typename... _UElements> bool operator!= (const tuple< _TElements...> &__t, const tuple< _UElements...> &__u)
template<typename... _TElements, typename... _UElements> bool operator< (const tuple< _TElements...> &__t, const tuple< _UElements...> &__u)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const gamma_distribution< _RealType > &__x)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const normal_distribution< _RealType > &__x)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const exponential_distribution< _RealType > &__x)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const uniform_real< _RealType > &__x)
template<typename _IntType , typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const binomial_distribution< _IntType, _RealType > &__x)
template<typename _IntType , typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const poisson_distribution< _IntType, _RealType > &__x)
template<typename _IntType , typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const geometric_distribution< _IntType, _RealType > &__x)
template<typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const bernoulli_distribution &__x)
template<typename _IntType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const uniform_int< _IntType > &__x)
template<class _UniformRandomNumberGenerator1 , int __s1, class _UniformRandomNumberGenerator2 , int __s2, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const xor_combine< _UniformRandomNumberGenerator1, __s1, _UniformRandomNumberGenerator2, __s2 > &__x)
template<class _UniformRandomNumberGenerator , int __p, int __r, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const discard_block< _UniformRandomNumberGenerator, __p, __r > &__x)
template<typename _RealType , int __w, int __s, int __r, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const subtract_with_carry_01< _RealType, __w, __s, __r > &__x)
template<typename _IntType , _IntType __m, int __s, int __r, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const subtract_with_carry< _IntType, __m, __s, __r > &__x)
template<class _UIntType , int __w, int __n, int __m, int __r, _UIntType __a, int __u, int __s, _UIntType __b, int __t, _UIntType __c, int __l, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const mersenne_twister< _UIntType, __w, __n, __m, __r, __a, __u, __s, __b, __t, __c, __l > &__x)
template<class _UIntType , _UIntType __a, _UIntType __c, _UIntType __m, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const linear_congruential< _UIntType, __a, __c, __m > &__lcr)
template<typename... _TElements, typename... _UElements> bool operator<= (const tuple< _TElements...> &__t, const tuple< _UElements...> &__u)
template<typename... _TElements, typename... _UElements> bool operator== (const tuple< _TElements...> &__t, const tuple< _UElements...> &__u)
template<typename... _TElements, typename... _UElements> bool operator> (const tuple< _TElements...> &__t, const tuple< _UElements...> &__u)
template<typename... _TElements, typename... _UElements> bool operator>= (const tuple< _TElements...> &__t, const tuple< _UElements...> &__u)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, normal_distribution< _RealType > &__x)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, uniform_real< _RealType > &__x)
template<typename _IntType , typename _RealType , typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, binomial_distribution< _IntType, _RealType > &__x)
template<typename _IntType , typename _RealType , typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, poisson_distribution< _IntType, _RealType > &__x)
template<typename _IntType , typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, uniform_int< _IntType > &__x)
template<class _UniformRandomNumberGenerator1 , int __s1, class _UniformRandomNumberGenerator2 , int __s2, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, xor_combine< _UniformRandomNumberGenerator1, __s1, _UniformRandomNumberGenerator2, __s2 > &__x)
template<class _UniformRandomNumberGenerator , int __p, int __r, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, discard_block< _UniformRandomNumberGenerator, __p, __r > &__x)
template<typename _RealType , int __w, int __s, int __r, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, subtract_with_carry_01< _RealType, __w, __s, __r > &__x)
template<typename _IntType , _IntType __m, int __s, int __r, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, subtract_with_carry< _IntType, __m, __s, __r > &__x)
template<class _UIntType , int __w, int __n, int __m, int __r, _UIntType __a, int __u, int __s, _UIntType __b, int __t, _UIntType __c, int __l, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, mersenne_twister< _UIntType, __w, __n, __m, __r, __a, __u, __s, __b, __t, __c, __l > &__x)
template<class _UIntType , _UIntType __a, _UIntType __c, _UIntType __m, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, linear_congruential< _UIntType, __a, __c, __m > &__lcr)
template<typename _Tp , typename _Up > std::complex< typename __gnu_cxx::__promote_2< _Tp, _Up >::__type > polar (const _Tp &__rho, const _Up &__theta)
template<typename _Tp > std::complex< _Tp > pow (const std::complex< _Tp > &__x, const std::complex< _Tp > &__y)
template<typename _Tp > std::complex< _Tp > pow (const _Tp &__x, const std::complex< _Tp > &__y)
template<typename _Tp > std::complex< _Tp > pow (const std::complex< _Tp > &__x, const _Tp &__y)
template<typename _Tp , typename _Up > __gnu_cxx::__promote_2< _Tp, _Up >::__type pow (_Tp __x, _Up __y)
long double pow (long double __x, long double __y)
float pow (float __x, float __y)
double pow (double __x, double __y)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type riemann_zeta (_Tp __x)
float riemann_zetaf (float __x)
long double riemann_zetal (long double __x)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type sph_bessel (unsigned int __n, _Tp __x)
float sph_besself (unsigned int __n, float __x)
long double sph_bessell (unsigned int __n, long double __x)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type sph_legendre (unsigned int __l, unsigned int __m, _Tp __theta)
float sph_legendref (unsigned int __l, unsigned int __m, float __theta)
long double sph_legendrel (unsigned int __l, unsigned int __m, long double __theta)
template<typename _Tp > __gnu_cxx::__promote< _Tp >::__type sph_neumann (unsigned int __n, _Tp __x)
float sph_neumannf (unsigned int __n, float __x)
long double sph_neumannl (unsigned int __n, long double __x)
template<typename... _Elements> tuple< _Elements &...> tie (_Elements &...__args)

Detailed Description

ISO C++ TR1 entities toplevel namespace is std::tr1.

Function Documentation

  template<typename _CharT , typename _Traits > std::basic_ostream<_CharT, _Traits>& std::tr1::operator<< (std::basic_ostream< _CharT, _Traits > & __os, const bernoulli_distribution & __x) [inline]

Inserts a bernoulli_distribution random number distribution __x into the output stream __os.

Parameters:
    __os An output stream.
    __x A bernoulli_distribution random number distribution.

Returns:
    The output stream with the state of __x inserted or in an error state.

Definition at line 828 of file tr1/random.tcc.

References std::ios_base::flags(), std::left(), and std::scientific().

Author

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