libstdc++
std::lognormal_distribution< _RealType > Class Template Reference

Detailed Description

template<typename _RealType = double>
class std::lognormal_distribution< _RealType >

A lognormal_distribution random number distribution.

The formula for the normal probability mass function is

\[ p(x|m,s) = \frac{1}{sx\sqrt{2\pi}} \exp{-\frac{(\ln{x} - m)^2}{2s^2}} \]

Definition at line 2300 of file random.h.


The documentation for this class was generated from the following file: