public member function
<random>

std::exponential_distribution::lambda

result_type lambda() const;
Lambda
Returns the parameter lambda (λ) associated with the exponential_distribution.

This parameter represents the number of times the random events are observed by interval, on average.

This parameter is set on construction.

Parameters

none

Return value

The lambda parameter (λ) associated with the distribution object.

Complexity

Constant.

See also