ASA103
The Digamma or Psi Function


ASA103 is a FORTRAN77 library, using double precision arithmetic, which evaluates the digamma or psi function.

ASA103 is Applied Statistics Algorithm 103. Source code for many Applied Statistics Algorithms is available through STATLIB.

Related Data and Programs:

ASA103 is also available in a C++ version and a FORTRAN90 version and a MATLAB version

ASA121 a library which evaluates the trigamma function.

SPECFUN is a FORTRAN77 library which computes special functions, including the Psi or Digamma function.

TEST_VALUES is a FORTRAN90 library which contains sample values for a number of distributions.

TOMS708 a FORTRAN77 library which includes routines to evaluate the digamma function.

Reference:

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

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN77 source codes.


Last revised on 04 January 2008.