gamma: Gamma function and related functions.

[ library, math, numerical, public-domain ] [ Propose Tags ] [ Report a vulnerability ]

Approximations of the gamma function, incomplete gamma functions, generalized gamma functions, and factorials.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.7, 0.7.0.1, 0.9.0.1, 0.9.0.2, 0.10.0.0
Change log CHANGES.md
Dependencies base (>=4.9 && <5), continued-fractions (>=0.10), converge, template-haskell, vector (>=0.5) [details]
Tested with ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.3, ghc ==8.6.1
License LicenseRef-PublicDomain
Author James Cook <mokus ΑΤ deepbondi dοt net>
Maintainer James Cook <mokus ΑΤ deepbondi dοt net>, Alexandre Rodrigues Baldé <alexandrer_b ΑΤ outlook dοt com>
Category Math, Numerical
Home page https://github.com/rockbmb/gamma2
Bug tracker https://github.com/rockbmb/gamma2/issues
Source repo head: git clone git://github.com/rockbmb/gamma2.git
Uploaded by rockbmb at 2019-02-03T01:55:05Z
Distributions
Reverse Dependencies 9 direct, 65 indirect [details]
Downloads 6715 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-02-03 [all 1 reports]

Readme for gamma-0.10.0.0

[back to package description]

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.