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::discrete_distribution< _IntType1 > &__x) |
bool | operator== (const discrete_distribution &__d1, const discrete_distribution &__d2) |
template<typename _IntType1 , typename _CharT , typename _Traits > | |
std::basic_istream< _CharT, _Traits > & | operator>> (std::basic_istream< _CharT, _Traits > &__is, std::discrete_distribution< _IntType1 > &__x) |
A discrete_distribution random number distribution.
The formula for the discrete probability mass function is