Haskell DSP LibrarySource codeParentContentsIndex
Numeric.Random.Distribution.Gamma
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 gamma random variables.

 f(x) = lambda * exp(-lambda*x) * (lambda * x)^(t-1) / Gamma(t) 

Reference: Ross

Synopsis
gamma :: Int -> Double -> [Double] -> [Double]
Documentation
gamma
:: Int n
-> Double lambda
-> [Double] U
-> [Double] X
Generates a list of gamma random variables from a list of uniforms via the inverse transformation method
Produced by Haddock version 0.4