gsl-random-0.1: Bindings the the GSL random number generation facilities.
GSL.Random.Dist
Description
Synopsis
getPoisson :: RNG -> Double -> IO IntSource
getPoisson r mu gets a poisson random variable with mean mu.
getPoisson r mu
mu
getFlat :: RNG -> Double -> Double -> IO DoubleSource
getFlat r a b gets a value uniformly chosen in [a,b).
getFlat r a b
[a,b)
getGaussian :: RNG -> Double -> IO DoubleSource
getGaussian r sigma gets a normal random variable with mean 0 and standard deviation sigma.
getGaussian r sigma
0
sigma