libstdc++
std::geometric_distribution< _IntType > Class Template Reference

Detailed Description

template<typename _IntType = int>
class std::geometric_distribution< _IntType >

A discrete geometric random number distribution.

The formula for the geometric probability density function is $p(i|p) = p(1 - p)^{i}$ where $p$ is the parameter of the distribution.

Definition at line 4010 of file random.h.


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