std::negative_binomial_distribution (3) Linux Manual Page
std::negative_binomial_distribution – std::negative_binomial_distribution Synopsis Defined in header<random> template <class IntType = int> (since C++ 11) class negative_binomial_distribution; Produces random non-negative integer values i, distributed according to discrete probability function: \(P(i|k, p) = \binom{k + i – 1}{i} \cdot p^k \cdot (1 – p)^i\)P(i|k,p) =⎛ ⎜ ⎝k + i − 1 i⎞ ⎟ ⎠ · pk…
