public member function
<random>

std::normal_distribution::mean

result_type mean() const;
Distribution mean
Returns the mean (μ) parameter associated with the normal_distribution object.

This parameter is the expected value of the normal distribution. Its value coincides with the location of the distribution peak.

This parameter is set on construction by its first parameter.

Parameters

none

Return value

Distribution parameter mean associated with the object.

Complexity

Constant.

See also