Constructors
Synopses
Declared in <absl/random/log_uniform_int_distribution.h>
Constructs a distribution over the entire range of result_type.
Constructs a distribution from the given parameter set.
explicit
log_uniform_int_distribution(param_type const& p);
Constructs a distribution over the closed interval [min, max].
explicit
log_uniform_int_distribution(
result_type min,
result_type max = (std::numeric_limits<result_type>::max)(),
result_type base = 2);
Parameters
Name |
Description |
p |
The parameter set. |
min |
The lower bound of the closed interval. |
max |
The upper bound of the closed interval. |
base |
The base of the logarithm. |
Created with MrDocs