Sdílet prostřednictvím


discrete_distribution::param_type

Ukládá všechny parametry rozdělení.

struct param_type {     typedef discrete_distribution<IntType> distribution_type;     param_type();     template<class UnaryOperation>     param_type(size_t count, double low, double high,          UnaryOperation weightfunc);     std::vector<double> probabilities() const;     ....     bool operator==(const param_type& right) const;     bool operator!=(const param_type& right) const; };

Parametry

Viz téma nadřazeného discrete_distribution – třída.

Poznámky

Tento parametr balíček může být předáno do operator() ke generování návratovou hodnotu.

Požadavky

Záhlaví: < náhodné >

Obor názvů: std

Viz také

Referenční dokumentace

<random>

discrete_distribution – třída