absl::exponential_distribution::operator()

Generates a random value using the given parameter set.

Synopsis

Declared in <absl/random/exponential_distribution.h>

template<typename URBG>
exponential_distribution<RealType>::result_type
operator()(
    URBG& g,
    param_type const& p);

Return Value

A random value drawn from the distribution.

Parameters

NameDescription
gThe uniform random bit generator.
pThe parameter set to use for this call.