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

Detailed Description

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

A normal continuous distribution for random numbers.

The formula for the normal probability density function is

\[ p(x|\mu,\sigma) = \frac{1}{\sigma \sqrt{2 \pi}} e^{- \frac{{x - \mu}^ {2}}{2 \sigma ^ {2}} } \]

Definition at line 2087 of file random.h.


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