Copyright | (c) Matthew Donadio 2003 |
---|---|
License | GPL |
Maintainer | [email protected] |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Numeric.Random.Distribution.Geometric
Description
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