TOMS291
Approximate Log(Gamma(X))


TOMS291, a MATLAB program which approximates the logarithm of the Gamma function.

The text of many ACM TOMS algorithms is available online through ACM: http://calgo.acm.org/ or NETLIB: http://www.netlib.org/toms/index.html.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

TOMS291 is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

ASA245, a MATLAB library which evaluates the logarithm of the Gamma function.

POLPAK, a MATLAB library which evaluates a variety of special functions.

TEST_VALUES, a MATLAB library which tabulates several values of a variety of special functions.

toms291_test

Reference:

  1. Malcolm Pike, David Hill,
    Algorithm 291: Logarithm of Gamma Function,
    Communications of the ACM,
    Volume 9, Number 9, September 1966, page 684.

Source Code:


Last revised on 01 March 2019.