HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

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