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

Detailed Description

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

A gamma continuous distribution for random numbers.

The formula for the gamma probability density function is:

\[ p(x|\alpha,\beta) = \frac{1}{\beta\Gamma(\alpha)} (x/\beta)^{\alpha - 1} e^{-x/\beta} \]

Definition at line 2504 of file random.h.


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