Psi Function

Calculate the Digamma function


Description

The Function \(Psi\) calculates the Digamma function.

As an argument positive real numbers and data fields are allowed. If the argument is a data field, \(Psi\) is calculated for each element. The result is then a data field in the same size.

This implementation is based on the Jose Bernado algorithm AS 103. The function is defined as a logarithmic derivative of the gamma function:


Syntax

Psi (x)

Psi (List)

Psi (Table)

Example