libstdc++
|
Classes | |
class | std::bernoulli_distribution |
class | std::binomial_distribution< _IntType > |
class | std::geometric_distribution< _IntType > |
class | std::negative_binomial_distribution< _IntType > |
Functions | |
bool | std::operator!= (const std::bernoulli_distribution &__d1, const std::bernoulli_distribution &__d2) |
template<typename _IntType > | |
bool | std::operator!= (const std::binomial_distribution< _IntType > &__d1, const std::binomial_distribution< _IntType > &__d2) |
template<typename _IntType > | |
bool | std::operator!= (const std::geometric_distribution< _IntType > &__d1, const std::geometric_distribution< _IntType > &__d2) |
template<typename _IntType > | |
bool | std::operator!= (const std::negative_binomial_distribution< _IntType > &__d1, const std::negative_binomial_distribution< _IntType > &__d2) |
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 _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 _CharT , typename _Traits > | |
std::basic_istream< _CharT, _Traits > & | std::operator>> (std::basic_istream< _CharT, _Traits > &__is, std::bernoulli_distribution &__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) |
|
inline |
|
inline |
|
inline |
|
inline |
std::basic_ostream< _CharT, _Traits > & std::operator<< | ( | std::basic_ostream< _CharT, _Traits > & | __os, |
const std::bernoulli_distribution & | __x | ||
) |
Inserts a bernoulli_distribution random number distribution __x
into the output stream __os
.
__os | An output stream. |
__x | A bernoulli_distribution random number distribution. |
__x
inserted or in an error state. Definition at line 995 of file bits/random.tcc.
References std::basic_ios< _CharT, _Traits >::fill(), std::ios_base::flags(), std::left(), std::bernoulli_distribution::p(), std::ios_base::precision(), std::scientific(), and std::basic_ios< _CharT, _Traits >::widen().
std::basic_ostream< _CharT, _Traits > & std::operator<< | ( | std::basic_ostream< _CharT, _Traits > & | __os, |
const std::geometric_distribution< _IntType > & | __x | ||
) |
Inserts a geometric_distribution random number distribution __x
into the output stream __os
.
__os | An output stream. |
__x | A geometric_distribution random number distribution. |
__x
inserted or in an error state. Definition at line 1077 of file bits/random.tcc.
References std::basic_ios< _CharT, _Traits >::fill(), std::ios_base::flags(), std::left(), std::geometric_distribution< _IntType >::p(), std::ios_base::precision(), std::scientific(), and std::basic_ios< _CharT, _Traits >::widen().
std::basic_istream<_CharT, _Traits>& std::operator>> | ( | std::basic_istream< _CharT, _Traits > & | __is, |
std::bernoulli_distribution & | __x | ||
) |
Extracts a bernoulli_distribution random number distribution __x
from the input stream __is
.
__is | An input stream. |
__x | A bernoulli_distribution random number generator engine. |
__x
extracted or in an error state. Definition at line 3644 of file random.h.
References std::bernoulli_distribution::param().
std::basic_istream< _CharT, _Traits > & std::operator>> | ( | std::basic_istream< _CharT, _Traits > & | __is, |
std::geometric_distribution< _IntType > & | __x | ||
) |
Extracts a geometric_distribution random number distribution __x
from the input stream __is
.
__is | An input stream. |
__x | A geometric_distribution random number generator engine. |
__x
extracted or in an error state. Definition at line 1101 of file bits/random.tcc.
References std::ios_base::flags(), std::geometric_distribution< _IntType >::param(), and std::skipws().