DIGAMMA Function

Returns the value of the digamma function.

Category: Mathematical
Returned data type: DOUBLE

Syntax

DIGAMMA(expression)

Arguments

expression

specifies any valid expression that evaluates to a numeric value.

Restriction Zero and negative integers are not valid.
Data type DOUBLE
See <sql-expression>
FedSQL Expressions

Details

The DIGAMMA function returns the ratio that is given by the following equation.
cap gamma , open . close and cap gamma prime . open . close denote the Gamma function and its derivative, respectively. For expression>0, the DIGAMMA function is the derivative of the LGAMMA function.

Example

The following statement illustrates the DIGAMMA function:
Statements
Results
select digamma(1.0);
-0.577215665
Last updated: February 23, 2017