You are here: Symbol Reference > Probabilities Namespace > Functions > Probabilities.digamma Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Probabilities.digamma Function

Returns digamma function or psi(0,x)

Pascal
function digamma(x: double): double;

Computes the first derivate of the logarithm of the gamma function. The function returns NAN, if the x is less than zero. 

The algorithm was adapted from: 

The algorithm "AS 103" from "Applied Statistics" (1976) VOL.25, NO.3 Available in Fortran at: http://lib.stat.cmu.edu/apstat/103

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!