absl::beta_distribution::beta_distribution

Constructors

Synopses

Declared in <absl/random/beta_distribution.h>

Constructs a distribution with shape parameters (1, 1).

beta_distribution();
» more...

Constructs a distribution from the given parameter set.

explicit
beta_distribution(param_type const& p);
» more...

Constructs a distribution with the given shape parameters.

explicit
beta_distribution(
    result_type alpha,
    result_type beta = 1);
» more...

Parameters

NameDescription
pThe parameter set.
alphaThe first shape parameter.
betaThe second shape parameter.