Sdílet prostřednictvím


normal_distribution::param_type

Ukládá parametry rozdělení.

struct param_type {
    typedef normal_distribution<RealType> distribution_type;
    param_type(result_type mean0 = result_type(0.0),
        RealType sigma0 = result_type(1.0));
    RealType mean() const;
    RealType sigma() const;
    bool operator==(const param_type& right) const;
    bool operator!=(const param_type& right) const;
    };

Poznámky

Tento balíček parametr předán operator() ke generování vrácenou hodnotu.

Požadavky

Záhlaví: <random>

Obor názvů: std

Viz také

Referenční dokumentace

<random>

normal_distribution Class