mp_units::exponential_distribution

Synopsis

Declared in <mp-units/random.h>
template<Quantity Q>
requires std::floating_point<typename Q::rep>
struct exponential_distribution
    : std::exponential_distribution<Q::rep>

Base Classes

Name Description
std::exponential_distribution<Q::rep>An exponential continuous distribution for random numbers.

Types

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

Member Functions

NameDescription
__generate
lambda Returns the inverse scale parameter of the distribution.
max Returns the least upper bound value of the distribution.
min Returns the greatest lower bound value of the distribution.
operator() Generating functions.
param param overloads
reset Resets the distribution state.