362ae1c3创建于 2022年6月24日历史提交

Geometric distribution

A geom discrete random variable.

Notes

The probability mass function for geometric distribution is:

.. math::

f(k) = (1-p)^{k-1} p

for :math:k \ge 1 and :math:0 \leq p \leq 1.