constructor · 4 overloads
std::discrete_distribution::param_type::param_type
- Header
<random>- Scope
std::discrete_distribution::param_type- cppreference
- std::discrete_distribution nearest page
Constructors
Overloads
- (1)
param_type(); - (2)
param_type(initializer_list<double> wl); - (3)
template<class InputIterator> requires rand-input-iter<InputIterator> param_type(InputIterator firstW, InputIterator lastW); - (4)
template<class UnaryOperation> param_type(size_t nw, double xmin, double xmax, UnaryOperation fw);