bernoulli_distribution::bernoulli_distribution |
( |
double |
_P0 = 0.5 | ) |
|
|
inlineexplicit |
param_type _Par
Definition: random:2590
bernoulli_distribution::bernoulli_distribution |
( |
const param_type & |
_Par0 | ) |
|
|
inlineexplicit |
param_type _Par
Definition: random:2590
2587 return (
_NRAND(_Eng,
double) < _Par0._Px);
#define _NRAND(eng, resty)
Definition: random:345
template<class _Elem , class _Traits >
basic_istream< _Elem, _Traits > & _In(basic_istream< _Elem, _Traits > &_Is, _Ty &_Dx)
Definition: random:156
param_type _Par
Definition: random:2590
void _Init(double _P0)
Definition: random:2501
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > & _Out(basic_ostream< _Elem, _Traits > &_Os, _Ty _Dx)
Definition: random:174
double _Px
Definition: random:2509
param_type _Par
Definition: random:2590
template<class _Engine >
result_type bernoulli_distribution::operator() |
( |
_Engine & |
_Eng | ) |
const |
|
inline |
result_type _Eval(_Engine &_Eng, const param_type &_Par0) const
Definition: random:2585
param_type _Par
Definition: random:2590
2560 return (
_Eval(_Eng, _Par0));
result_type _Eval(_Engine &_Eng, const param_type &_Par0) const
Definition: random:2585
double bernoulli_distribution::p |
( |
| ) |
const |
|
inline |
param_type _Par
Definition: random:2590
double p() const
Definition: random:2496
param_type bernoulli_distribution::param |
( |
| ) |
const |
|
inline |
param_type _Par
Definition: random:2590
param_type _Par
Definition: random:2590
void bernoulli_distribution::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: