Lines Matching refs:discrete_distribution
52 class discrete_distribution {
58 using distribution_type = discrete_distribution;
99 friend class discrete_distribution;
111 discrete_distribution() : param_() {} in discrete_distribution() function
113 explicit discrete_distribution(const param_type& p) : param_(p) {} in discrete_distribution() function
116 explicit discrete_distribution(InputIterator begin, InputIterator end) in discrete_distribution() function
119 explicit discrete_distribution(std::initializer_list<double> weights) in discrete_distribution() function
123 explicit discrete_distribution(size_t nw, double xmin, double xmax, in discrete_distribution() function
153 friend bool operator==(const discrete_distribution& a,
154 const discrete_distribution& b) {
157 friend bool operator!=(const discrete_distribution& a,
158 const discrete_distribution& b) {
183 void discrete_distribution<IntType>::param_type::init() { in init()
195 typename discrete_distribution<IntType>::result_type
196 discrete_distribution<IntType>::operator()( in operator()
208 const discrete_distribution<IntType>& x) {
223 discrete_distribution<IntType>& x) { // NOLINT(runtime/references)
224 using param_type = typename discrete_distribution<IntType>::param_type;