libstdc++
|
#include <random.h>
Classes | |
struct | param_type |
Public Types | |
typedef bool | result_type |
Friends | |
bool | operator== (const bernoulli_distribution &__d1, const bernoulli_distribution &__d2) |
A Bernoulli random number distribution.
Generates a sequence of true and false values with likelihood
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
Returns the least upper bound value of the distribution.
Definition at line 3625 of file random.h.
References std::numeric_limits< _Tp >::max().
|
inline |
Returns the greatest lower bound value of the distribution.
Definition at line 3618 of file random.h.
References std::numeric_limits< _Tp >::min().
|
inline |
Generating functions.
Definition at line 3633 of file random.h.
References operator()().
Referenced by operator()().
|
inline |
|
inline |
|
inline |
Returns the parameter set of the distribution.
Definition at line 3603 of file random.h.
Referenced by std::operator>>().
|
inline |
|
inline |
|
friend |