Megosztás a következőn keresztül:


weibull_distribution::param_type

Stores the parameters of the distribution.

struct param_type {
    typedef weibull_distribution<RealType> distribution_type;
    param_type(RealType a = 1.0, RealType b = 1.0);
    RealType a() const;
    RealType b() const;
    .....
    bool operator==(const param_type& right) const;
    bool operator!=(const param_type& right) const;
};

Parameters

See parent topic weibull_distribution Class.

Remarks

**Precondition:**0.0 < a and 0.0 < b

This structure can be passed to the distribution's class constructor at instantiation, to the param() member function to set the stored parameters of an existing distribution, and to operator() to be used in place of the stored parameters.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

weibull_distribution Class