@hackage gamma0.10.0.0

Gamma function and related functions.

Gamma

Build Status

gamma is a number theory package written in Haskell that aims to provide its users with the following functionality:

  • A typeclass
    class Num a => Factorial a
    
    that provides a factorial function.
  • A typeclass
    class (Eq a, Floating a, Factorial a) => Gamma a
    
    that provides the functions
    • gamma
    • lnGamma (natural logarithm of the gamma function) and
    • lnFactorial (natural logarithm of the factorial function).
  • A typeclass
    class Gamma a => IncGamma a
    
    for the incomplete lower and upper gamma functions.
  • A typeclass
    class Gamma a => GenGamma a
    
    to represent the multivariate gamma function.