Portability | portable |
---|---|

Stability | experimental |

Maintainer | bos@serpentine.com |

Safe Haskell | None |

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 -> DoubleSource

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 -> DoubleSource

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