Constructors

Synopses

Declared in <absl/random/beta_distribution.h>

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

Constructs a distribution from the given parameter set.

explicit
beta_distribution(param_type const& p);

Constructs a distribution with the given shape parameters.

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

Parameters

Name

Description

p

The parameter set.

alpha

The first shape parameter.

beta

The second shape parameter.

Created with MrDocs