Copyright | (c) 2011 Aleksey Khudyakov |
---|---|
License | BSD3 |
Maintainer | bos@serpentine.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
The Cauchy-Lorentz distribution. It's also known as Lorentz distribution or Breit–Wigner distribution.
It doesn't have mean and variance.
Documentation
data CauchyDistribution Source #
Cauchy-Lorentz distribution.
cauchyDistribMedian :: CauchyDistribution -> Double Source #
Central value of Cauchy-Lorentz distribution which is its mode and median. Distribution doesn't have mean so function is named after median.
cauchyDistribScale :: CauchyDistribution -> Double Source #
Scale parameter of Cauchy-Lorentz distribution. It's different from variance and specify half width at half maximum (HWHM).
Constructors
:: Double | Central point |
-> Double | Scale parameter (FWHM) |
-> CauchyDistribution |
Cauchy distribution
:: Double | Central point |
-> Double | Scale parameter (FWHM) |
-> Maybe CauchyDistribution |
Cauchy distribution
standardCauchy :: CauchyDistribution Source #
Standard Cauchy distribution. It's centered at 0 and and have 1 FWHM