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

Detailed Description

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

An exponential continuous distribution for random numbers.

The formula for the exponential probability density function is $p(x|\lambda) = \lambda e^{-\lambda x}$.

Distribution Statistics
Mean$\frac{1}{\lambda}$
Median$\frac{\ln 2}{\lambda}$
Mode$zero$
Range$[0, \infty]$
Standard Deviation$\frac{1}{\lambda}$

Definition at line 4648 of file random.h.


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