-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Hypergeometric functions -- -- Haskell implementation of hypergeometric functions and associated -- statistical and special functions: erf, normal cdf, incomplete beta, -- regularized beta, F-distribution cdf, <math>-distribution cdf, -- t-distrubtion cdf. Also includes Lanczos' approximation of the gamma -- function. @package hypergeometric @version 0.1.5.0 -- | See Shaw, Ewart "Hypergeometric Functions and CDFs in J". module Math.Hypergeometric -- | <math> -- -- The radius of convergence is -- -- <math> -- -- This iterates until the result stabilizes. hypergeometric :: (Ord a, Fractional a) => [a] -> [a] -> a -> a -- | Euler's transform: -- -- <math> -- -- The right-hand side converges for all <math>. -- -- Koekoek, Roelef and Swarttouw, René F. The Askey-scheme of -- hypergeometric orthogonal polynomials and its q-analogue. euler :: (Ord a, Floating a) => a -> a -> a -> a -> a -- | erf erf :: (Ord a, Floating a) => a -> a -- | CDF of the standard normal <math> ncdf :: (Ord a, Floating a) => a -> a module Math.SpecialFunction -- | Incomplete beta function, <math> -- -- Calculated with <math> incbeta :: (Floating a, Ord 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 -- | Regularized beta function, <math> -- -- <math> regbeta :: (Floating a, Ord a) => a -> a -> a -> a -- | Bessel functions of the first kind, <math>. bessel1 :: (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 -- | Arithmetic-geometric mean agm :: (Ord a, Floating a) => a -> a -> a -- | Complete elliptic integral of the first kind completeElliptic :: (Ord a, Floating a) => a -> a fcdf :: (Floating a, Ord a) => a -> a -> a -> a chisqcdf :: (Floating a, Ord a) => a -> a -> a -- | Converges if and only if <math> tcdf :: (Floating a, Ord a) => a -> a -> a