Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Stores the parameters of the distribution.
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;
};
Remarks
This parameter package can be passed to operator() to generate the return value.
Requirements
Header: <random>
Namespace: std
See Also
Reference
negative_binomial_distribution Class