Namespaces
Variants
Views
Actions

std::discrete_distribution::min

From cppreference.com
 
 
 
Pseudo-random number generation
Uniform random bit generators
Engines and engine adaptors
Non-deterministic generator
Distributions
Uniform distributions
Bernoulli distributions
Poisson distributions
Normal distributions
Sampling distributions
Seed Sequences
(C++11)
C library
 
 
result_type min() const;
(since C++11)

Returns the minimum value potentially generated by the distribution.

Contents

[edit] Parameters

(none)

[edit] Return value

The minimum value potentially generated by the distribution

[edit] Complexity

Constant.

[edit] See also

returns the maximum potentially generated value
(public member function) [edit]