Esta documentación está archivada y no tiene mantenimiento.

weibull_distribution::weibull_distribution

weibull_distribution(result_type a0 = result_type(1.0),
    result_type b0 = result_type(1.0));
explicit weibull_distribution(const param_type& par0);

Parameter

Description

a0

The a distribution parameter.

b0

The b distribution parameter.

par0

The parameter package used to construct the distribution

Precondition: 0.0 < a0 && 0.0 < b0

The first constructor constructs an object whose stored value stored_a holds the value a0 and whose stored value stored_b holds the value b0.

The second constructor constructs an object whose stored parameters are initialized from par0.

Header: <random>

Namespace: std

Mostrar: