negative_binomial_distribution::param_type
Ukládá parametry rozdělení.
struct param_type {
typedef negative_binomial_distribution<IntType> distribution_type;
param_type(result_type t0 = 1, double p0 = 0.5);
result_type k() const;
double p() const;
bool operator==(const param_type& right) const;
bool operator!=(const param_type& right) const;
};
Poznámky
Tento balíček parametr předán operator() ke generování vrácenou hodnotu.
Požadavky
Záhlaví: <random>
Obor názvů: std