HTBasic Help
×
Menu
Index
Digamma
Digamma function of a real argument.
 
Loading        LOADSUB ALL FROM "DIGAMMA.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                REAL Y,X
Y=FNDigamma(X)
 
Description                
FNDigamma returns the value of the digamma function (sometimes called the psi function) of x, ψ(x). The value of ψ(x) approaches ± as x approaches a negative integer value or zero.
 
Errors                
FNDigamma causes an HTBasic error if its argument is not of type REAL or if the magnitude of ψ(x) exceeds MAXREAL, the largest number representable.
 
See Also
Cdigamma, Gamma
 
(x)