-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Hypergeometric functions -- -- Haskell implementation of hypergeometric functions and associated -- statistical functions, viz. erf, normal cdf @package hypergeometric @version 0.1.1.0 -- | See McHale, Vanessa "Hypergeometric Functions for Statistical -- Computing" and especially Shaw, Ernest "Hypergeometric -- Functions and CDFs in J" module Math.Hypergeometric -- | <math> -- -- This iterates until the result stabilizes, so don't use it on -- arbitrary-precision types! hypergeometric :: (Eq a, Fractional a) => [a] -> [a] -> a -> a -- | erf erf :: (Eq a, Floating a) => a -> a -- | CDF of the standard normal <math> ncdf :: (Eq a, Floating a) => a -> a module Math.SpecialFunction -- | Incomplete beta function. -- -- Calculated with <math> incbeta :: (Floating a, Eq a) => a -> a -> a -> a -- | <math> -- -- This uses gammaln under the hood to extend its domain somewhat. beta :: (Floating a, Ord a) => a -> a -> a -- | <math> gamma :: (Floating a, Ord a) => a -> a -- | <math> -- -- Lanczos approximation. This is exactly the approach described in -- Press, William H. et al. Numerical Recipes, 3rd ed., extended -- to work on negative real numbers. gammaln :: (Floating a, Ord a) => a -> a