gamma: Gamma function and related functions.

[ library, math, numerical, public-domain ] [ Propose Tags ]

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


[Skip to Readme]
Versions [faq] 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]
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 Sun Feb 3 01:55:05 UTC 2019
Distributions NixOS:0.10.0.0
Downloads 4556 total (90 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-02-03 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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.