Sdílet prostřednictvím


weibull_distribution Class

Generuje distribuční funkce Weibullova rozdělení.

template<class RealType = double>
    class weibull_distribution {
public:
    typedef RealType result_type;
    struct param_type;
    explicit weibull_distribution(result_type a0 = result_type(1.0),
        result_type b0 = result_type(1.0));
    explicit weibull_distribution(const param_type& par0);
    result_type a() const;
    result_type b() const;
    param_type param() const;
    void param(const param_type& par0);
    result_type min() const;
    result_type max() const;
    void reset();
    template<class Engine>
        result_type operator()(Engine& eng);
    template<class Engine>
        result_type operator()(Engine& eng,
            const param_type& par0);
private:
    result_type stored_a;
    result_type stored_b;
    };

Parametry

Parametr

Description

IntType

Výsledek typu celé číslo.

Poznámky

Popisuje šablony třídy distribuce , která vyvolává hodnoty zadané uživatelem s plovoucí desetinnou čárkou typu, distribuované s distribuční funkce Weibullova rozdělení.

Požadavky

Záhlaví: <random>

Obor názvů: std

Viz také

Referenční dokumentace

<random>

weibull_distribution::operator()

weibull_distribution::param

weibull_distribution::param_type

weibull_distribution::weibull_distribution