.TH "std::lognormal_distribution< _RealType >" 3cxx "Sat Feb 8 2020" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::lognormal_distribution< _RealType > \- A lognormal_distribution random number distribution\&. .SH SYNOPSIS .br .PP .SS "Classes" .in +1c .ti -1c .RI "struct \fBparam_type\fP" .br .in -1c .SS "Public Types" .in +1c .ti -1c .RI "typedef _RealType \fBresult_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBlognormal_distribution\fP (_RealType __m=_RealType(0), _RealType __s=_RealType(1))" .br .ti -1c .RI "\fBlognormal_distribution\fP (const \fBparam_type\fP &__p)" .br .ti -1c .RI "template void \fB__generate\fP (_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator &__urng)" .br .ti -1c .RI "template void \fB__generate\fP (_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator &__urng, const \fBparam_type\fP &__p)" .br .ti -1c .RI "template void \fB__generate\fP (\fBresult_type\fP *__f, \fBresult_type\fP *__t, _UniformRandomNumberGenerator &__urng, const \fBparam_type\fP &__p)" .br .ti -1c .RI "_RealType \fBm\fP () const" .br .ti -1c .RI "\fBresult_type\fP \fBmax\fP () const" .br .RI "Returns the least upper bound value of the distribution\&. " .ti -1c .RI "\fBresult_type\fP \fBmin\fP () const" .br .RI "Returns the greatest lower bound value of the distribution\&. " .ti -1c .RI "template \fBresult_type\fP \fBoperator()\fP (_UniformRandomNumberGenerator &__urng)" .br .RI "Generating functions\&. " .ti -1c .RI "template \fBresult_type\fP \fBoperator()\fP (_UniformRandomNumberGenerator &__urng, const \fBparam_type\fP &__p)" .br .ti -1c .RI "\fBparam_type\fP \fBparam\fP () const" .br .RI "Returns the parameter set of the distribution\&. " .ti -1c .RI "void \fBparam\fP (const \fBparam_type\fP &__param)" .br .RI "Sets the parameter set of the distribution\&. " .ti -1c .RI "void \fBreset\fP ()" .br .ti -1c .RI "_RealType \fBs\fP () const" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "template \fBstd::basic_ostream\fP< _CharT, _Traits > & \fBoperator<<\fP (\fBstd::basic_ostream\fP< _CharT, _Traits > &__os, const \fBstd::lognormal_distribution\fP< _RealType1 > &__x)" .br .RI "Inserts a lognormal_distribution random number distribution \fC__x\fP into the output stream \fC__os\fP\&. " .ti -1c .RI "bool \fBoperator==\fP (const \fBlognormal_distribution\fP &__d1, const \fBlognormal_distribution\fP &__d2)" .br .RI "Return true if two lognormal distributions have the same parameters and the sequences that would be generated are equal\&. " .ti -1c .RI "template \fBstd::basic_istream\fP< _CharT, _Traits > & \fBoperator>>\fP (\fBstd::basic_istream\fP< _CharT, _Traits > &__is, \fBstd::lognormal_distribution\fP< _RealType1 > &__x)" .br .RI "Extracts a lognormal_distribution random number distribution \fC__x\fP from the input stream \fC__is\fP\&. " .in -1c .SH "Detailed Description" .PP .SS "template .br 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}} \] .PP Definition at line 2143 of file random\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.