You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Probabilities Class > Probabilities Methods > Probabilities.digamma Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Probabilities.digamma Method

Returns digamma function or psi(0,x)

Syntax
C#
Visual Basic
public static double digamma(double x);

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!