mp_units::uniform_int_distribution

Synopsis

Declared in <mp-units/random.h>
struct uniform_int_distribution
    : std::uniform_int_distribution<Q::rep>

Base Classes

Name Description
std::uniform_int_distribution<Q::rep>Uniform discrete distribution for random numbers. A discrete random distribution on the range

Types

NameDescription
param_type Parameter type.
base
rep
result_type The type of the range of the distribution.

Member Functions

NameDescription
uniform_int_distribution [constructor]Constructors
__generate
a
b
max
min
operator() Generating functions.
param param overloads
reset Resets the distribution state.