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.Rayleigh

Synopsis
  • 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