Haskell DSP LibrarySource codeParentContentsIndex
Numeric.Random.Distribution.Geometric
Portability portable
Stability experimental
Maintainer m.p.donadio@ieee.org
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

Synopsis
geometric :: Double -> [Double] -> [Double]
Documentation
geometric
:: Double p
-> [Double] U
-> [Double] X
Generates a list of geometric random variables from a list of uniforms
Produced by Haddock version 0.4