public member function
<random>

std::lognormal_distribution::s

result_type s() const;
Parameter s
Returns the parameter s associated with the lognormal_distribution. This parameter represents the standard deviation of the underlying normal distribution formed by the logarithm transformations of the possible values in this distribution.

This value is set on construction by its second parameter.

Parameters

none

Return value

Distribution parameter m associated with the object.
result_type is a member type, defined as an alias of the first class template parameter (RealType).

Complexity

Constant.

See also