|
libstdc++
|
#include <random.h>
Classes | |
| struct | param_type |
Public Types | |
| typedef _RealType | result_type |
Friends | |
| template<typename _RealType1 , typename _CharT , typename _Traits > | |
| std::basic_ostream< _CharT, _Traits > & | operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::lognormal_distribution< _RealType1 > &__x) |
| bool | operator== (const lognormal_distribution &__d1, const lognormal_distribution &__d2) |
| template<typename _RealType1 , typename _CharT , typename _Traits > | |
| std::basic_istream< _CharT, _Traits > & | operator>> (std::basic_istream< _CharT, _Traits > &__is, std::lognormal_distribution< _RealType1 > &__x) |
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}}
\]](form_6.png)