HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulerandom-fu-0.3.0.1Haskell2010

Data.Random.Distribution.Exponential

Synopsis
  • Packagerandom-fu-0.3.0.1
  • Exports5
  • LanguageHaskell2010
  • LicenceLicenseRef-PublicDomain
  • SourceExponential.hs
newtypenewtype Exponential a

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

Instances2CDF, Distribution

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.

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.