Portability | portable |
---|---|

Stability | experimental |

Maintainer | m.p.donadio@ieee.org |

Safe Haskell | Safe-Inferred |

UNTESTED

Module for transforming a list of uniform random variables into a list of geometric random variables.

P{X=n} = (1-p)^(n-1)*p

Reference: Ross