Copyright | (c) Matthew Donadio 2003 |
---|---|
License | GPL |
Maintainer | m.p.donadio@ieee.org |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
UNTESTED
Module for transforming a list of uniform random variables into a list of exponential random variables.
f(x) = lambda * exp(-lambda*x)
F(x) = 1 - exp(-lambda*x)
lambda = 1 / mu
Reference: Ross
- exponential_inv :: Double -> [Double] -> [Double]