|
libstdc++
|
#include <random>
Classes | |
| struct | param_type |
Public Types | |
| typedef _IntType | result_type |
Friends | |
| bool | operator== (const geometric_distribution &__d1, const geometric_distribution &__d2) |
A discrete geometric random number distribution.
The formula for the geometric probability density function is 

| typedef _IntType std::geometric_distribution< _IntType >::result_type |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
Returns the least upper bound value of the distribution.
Definition at line 4303 of file random.h.
References std::numeric_limits< _Tp >::max().
|
inline |
|
inline |
Generating functions.
Definition at line 4311 of file random.h.
References std::geometric_distribution< _IntType >::operator()().
Referenced by std::geometric_distribution< _IntType >::operator()().
| geometric_distribution< _IntType >::result_type std::geometric_distribution< _IntType >::operator() | ( | _UniformRandomNumberGenerator & | __urng, |
| const param_type & | __p | ||
| ) |
Definition at line 1053 of file bits/random.tcc.
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |