HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulerandom-fu-0.3.0.1Haskell2010

Data.Random.Distribution.Rayleigh

  • 1 type
  • 4 values
  • Packagerandom-fu-0.3.0.1
  • Exports5
  • LanguageHaskell2010
  • LicenceLicenseRef-PublicDomain
  • SourceRayleigh.hs
newtypenewtype Rayleigh a
#

The rayleigh distribution with a specified mode ("sigma") parameter. Its mean will be sigma*sqrt(pi/2) and its variance will be sigma^2*(4-pi)/2

(therefore if you want one with a particular mean m, sigma should be m*sqrt(2/pi))

Constructors

Instances2CDF, Distribution