HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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