asa103


asa103, a C++ code which evaluates the digamma or psi function; this is a version of Applied Statistics Algorithm 103, by Jose Bernardo.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

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

Related Data and Programs:

asa103_test

asa121, a C++ code which evaluates the trigamma function.

fn, a C++ code which approximates elementary and special functions using Chebyshev polynomials; functions include Airy, Bessel I, Bessel J, Bessel K, Bessel Y, beta, confluent hypergeometric, cosine integral, Dawson's integral, digamma (psi), error, exponential integral, gamma, hyperbolic cosine integral, hyperbolic sine integral, incomplete gamma, log gamma, logarithmic integral, Pochhammer, psi, sine integral, Spence; by Wayne Fullerton.

test_values, a C++ code which contains sample values for a number of distributions.

toms708, a Fortran90 library which includes routines to evaluate the digamma function.

Author:

Original Fortran77 version by Jose Bernardo; This version by John Burkardt.

Reference:

  1. Jose Bernardo,
    Algorithm AS 103: Psi ( Digamma ) Function,
    Applied Statistics,
    Volume 25, Number 3, 1976, pages 315-317.

Source Code:


Last revised on 27 January 2020.