Constructors
Declared in <absl/random/log_uniform_int_distribution.h>
Constructs a distribution over the entire range of result_type.
log_uniform_int_distribution();
» more...
Constructs a distribution from the given parameter set.
explicit
log_uniform_int_distribution(param_type const& p);
» more...
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);
» more...
| 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. |