About

Metadata

  • Last updated , by rockbmb
  • License LicenseRef-PublicDomain
  • Categories Mathematics
  • Maintained by: James Cook <mokus ΑΤ deepbondi dοt net>, Alexandre Rodrigues Baldé <alexandrer_b ΑΤ outlook dοt com>

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.6.1
  2. 8.4.3
  3. 8.2.2
  4. 8.0.2

Readme

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.