libstdc++
|
#include <random.h>
Classes | |
struct | param_type |
Public Types | |
typedef _IntType | result_type |
Friends | |
template<typename _IntType1 , typename _CharT , typename _Traits > | |
std::basic_ostream< _CharT, _Traits > & | operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::binomial_distribution< _IntType1 > &__x) |
bool | operator== (const binomial_distribution &__d1, const binomial_distribution &__d2) |
template<typename _IntType1 , typename _CharT , typename _Traits > | |
std::basic_istream< _CharT, _Traits > & | operator>> (std::basic_istream< _CharT, _Traits > &__is, std::binomial_distribution< _IntType1 > &__x) |
A discrete binomial random number distribution.
The formula for the binomial probability density function is