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

Name

Description

alpha

The first shape parameter.

beta

The second shape parameter.

Created with MrDocs