dsp-0.2.5.1: Haskell Digital Signal Processing

Copyright(c) Matthew Donadio 2003
LicenseGPL
Maintainerm.p.donadio@ieee.org
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

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

Synopsis

Documentation

geometric Source #

Arguments

:: Double

p

-> [Double]

U

-> [Double]

X

Generates a list of geometric random variables from a list of uniforms