diGammaFunction

Computes the digamma function using AS 103

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

Return

the function value

Parameters

x

the value to evaluate