gsl-random-0.1: Bindings the the GSL random number generation facilities.

Stabilityexperimental
MaintainerPatrick Perry <patperry@stanford.edu>

GSL.Random.Dist

Description

 

Synopsis

Documentation

getPoisson :: RNG -> Double -> IO IntSource

getPoisson r mu gets a poisson random variable with mean mu.

getFlat :: RNG -> Double -> Double -> IO DoubleSource

getFlat r a b gets a value uniformly chosen in [a,b).

getGaussian :: RNG -> Double -> IO DoubleSource

getGaussian r sigma gets a normal random variable with mean 0 and standard deviation sigma.