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);

Parameters

Parameter

Description

a0

The a distribution parameter.

b0

The b distribution parameter.

par0

The parameter package used to construct the distribution

Remarks

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.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

weibull_distribution Class

Other Resources

<random> Members