Sdílet prostřednictvím


discrete_distribution::param_type

Uloží všechny parametry rozdělení.

struct param_type {
    typedef discrete_distribution<IntType> distribution_type;
    param_type();
    template<class Fn>
        param_type(size_t count,
            double low, double high, Fn func);
    std::vector<double> probabilities() 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>

discrete_distribution Class