binomial_distribution::param_type
Almacena los parámetros de distribución.
struct param_type {
typedef binomial_distribution<IntType, RealType> distribution_type;
param_type(result_type t0 = 1, RealType p0 = RealType(0.5));
result_type t() const;
RealType p() const;
bool operator==(const param_type& right) const;
bool operator!=(const param_type& right) const;
};
Comentarios
Este paquete de parámetro se puede pasar a operador () para generar el valor devuelto.
Requisitos
encabezado: <aleatorio>
espacio de nombres: std