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

Detailed Description

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

A discrete binomial random number distribution.

The formula for the binomial probability density function is $p(i|t,p) = \binom{t}{i} p^i (1 - p)^{t - i}$ where $t$ and $p$ are the parameters of the distribution.

Definition at line 3779 of file random.h.


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