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

Returns psi function of x.

Pascal
function psi(derivate: integer; x: double): double;

Computes the second or third derivate of the logarithm of the gamma function. The function returns NAN, if the x is less than or equal to zero. If derivate parameter is 0, the function returns digamma(x). If the derivate parameter is 1 then the function returns trigamma(x). Other values for derivate parameter are not supported.

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