absl::beta_distribution::operator()

Function call operators

Synopses

Declared in <absl/random/beta_distribution.h>

Generates a random value.

template<typename URBG>
result_type
operator()(URBG& g);
» more...

Generates a random value using the given parameter set.

template<typename URBG>
beta_distribution<RealType>::result_type
operator()(
    URBG& g,
    param_type const& p);
» more...

Return Value

A random value drawn from the distribution.

Parameters

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