|
| discrete_distribution () |
|
| discrete_distribution (_XSTD initializer_list< double > _Ilist) |
|
template<class _Fn > |
| discrete_distribution (size_t _Count, double _Low, double _High, _Fn _Func) |
|
| discrete_distribution (const param_type &_Par0) |
|
_Myvec | probabilities () const |
|
param_type | param () const |
|
void | param (const param_type &_Par0) |
|
result_type() | min () const |
|
result_type() | max () const |
|
void | reset () |
|
template<class _Engine > |
result_type | operator() (_Engine &_Eng) const |
|
template<class _Engine > |
result_type | operator() (_Engine &_Eng, const param_type &_Par0) const |
|
template<class _Elem , class _Traits > |
basic_istream< _Elem, _Traits > & | _Read (basic_istream< _Elem, _Traits > &_Istr, param_type &_Par0) |
|
template<class _Elem , class _Traits > |
basic_ostream< _Elem, _Traits > & | _Write (basic_ostream< _Elem, _Traits > &_Ostr, const param_type &_Par0) const |
|
template<class _Ty = int>
template<class _Ty = int>
template<class _Ty = int>
template<class _Ty = int>
template<class _Ty = int>
param_type _Par
Definition: random:5881
template<class _Ty = int>
template<class _Fn >
param_type _Par
Definition: random:5881
_Diff _Count
Definition: algorithm:1941
template<class _Ty = int>
param_type _Par
Definition: random:5881
template<class _Ty = int>
template<class _Engine >
5860 double _Px =
_NRAND(_Eng,
double);
5869 if (_Px <= _Par0._Pcdf[_Mid])
5874 _Count -= _Count2 + 1;
#define _NRAND(eng, resty)
Definition: random:74
_Ty result_type
Definition: random:5669
_Diff _Count
Definition: algorithm:1941
template<class _Ty = int>
template<class _Elem , class _Traits >
5831 _Par0._Pvec.
clear();
5832 for (; 0 < _Nvals; --_Nvals)
5836 _Par0._Pvec.push_back(_Val);
void __CLR_OR_THIS_CALL clear(iostate _State=goodbit, bool _Reraise=false)
Definition: ios:42
basic_istream< _Elem, _Traits > & _In(basic_istream< _Elem, _Traits > &_Is, _Ty &_Dx)
Definition: random:151
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Ty = int>
template<class _Elem , class _Traits >
5848 size_t _Nvals = _Par0._Pvec.size();
5849 _Ostr <<
' ' << _Nvals;
5851 for (
size_t _Idx = 0; _Idx < _Par0._Pvec.size(); ++_Idx)
5852 _Out(_Ostr, _Par0._Pvec[_Idx]);
basic_ostream< _Elem, _Traits > & _Out(basic_ostream< _Elem, _Traits > &_Os, _Ty _Dx)
Definition: random:169
template<class _Ty = int>
param_type _Par
Definition: random:5881
size_type size() const _NOEXCEPT
Definition: vector:1146
_Ty result_type
Definition: random:5669
_Myvec _Pvec
Definition: random:5757
template<class _Ty = int>
template<class _Ty = int>
template<class _Engine >
param_type _Par
Definition: random:5881
result_type _Eval(_Engine &_Eng, const param_type &_Par0) const
Definition: random:5858
template<class _Ty = int>
template<class _Engine >
5820 return (
_Eval(_Eng, _Par0));
result_type _Eval(_Engine &_Eng, const param_type &_Par0) const
Definition: random:5858
template<class _Ty = int>
param_type _Par
Definition: random:5881
template<class _Ty = int>
param_type _Par
Definition: random:5881
template<class _Ty = int>
_Myvec probabilities() const
Definition: random:5720
param_type _Par
Definition: random:5881
template<class _Ty = int>
template<class _Ty = int>
The documentation for this class was generated from the following file: