random-fu-0.2.7.3: Random number generation

Safe HaskellNone
LanguageHaskell98

Data.Random.Distribution.Exponential

Synopsis

Documentation

newtype Exponential a Source #

A definition of the exponential distribution over the type a.

Exp mu models an exponential distribution with mean mu. This can alternatively be viewed as an exponential distribution with parameter lambda = 1 / mu.

See also exponential.

Constructors

Exp a 

exponential :: Distribution Exponential a => a -> RVar a Source #

A random variable which samples from the exponential distribution.

exponential mu is an exponential random variable with mean mu. This can alternatively be viewed as an exponential random variable with parameter lambda = 1 / mu.

exponentialT :: Distribution Exponential a => a -> RVarT m a Source #

A random variable transformer which samples from the exponential distribution.

exponentialT mu is an exponential random variable with mean mu. This can alternatively be viewed as an exponential random variable with parameter lambda = 1 / mu.