Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Stores all the parameters of the distribution.
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;
};
Remarks
This parameter package can be passed to operator() to generate the return value.
Requirements
Header: <random>
Namespace: std