public member function
<random>

std::gamma_distribution::alpha

result_type alpha() const;
Parameter alpha
Returns the alpha parameter (α) associated with the gamma_distribution.

This parameter is known as the shape parameter of the gamma distribution.

This parameter is set on construction.

Parameters

none

Return value

The alpha parameter (α) associated with the distribution object.

Complexity

Constant.

See also