toms291


toms291, an Octave code which approximates the logarithm of the Gamma function.

The text of many ACM TOMS algorithms is available online through ACM: https://calgo.acm.org/ or NETLIB: https://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 MIT license

Languages:

toms291 is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.

Related Data and Programs:

toms291_test

asa245, an Octave code which evaluates the logarithm of the gamma function.

polpak, an Octave code which evaluates a variety of special functions.

test_values, an Octave code which tabulates several values of a variety of special functions.

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 31 May 2023.