absl::beta_distribution::beta_distribution

Constructs a distribution with the given shape parameters.

Synopsis

Declared in <absl/random/beta_distribution.h>

explicit
beta_distribution(
    result_type alpha,
    result_type beta = 1);

Parameters

NameDescription
alphaThe first shape parameter.
betaThe second shape parameter.