public member function
<random>

std::normal_distribution::stddev

result_type stddev() const;
Standard deviation
Returns the standard deviation (σ) associated with the normal_distribution object.

This parameter is the root square of the distribution variance, which expresses the dispersion of parameters from its mean (μ).

This parameter is set on construction by its second parameter.

Parameters

none

Return value

Distribution parameter stddev associated with the object (its standard deviation).

Complexity

Constant.

See also