Previous Page | Next Page

Functions and CALL Routines

DIGAMMA Function



Returns the value of the digamma function.
Category: Mathematical

Syntax
Arguments
Details
Examples

Syntax

DIGAMMA(argument)


Arguments

argument

specifies a numeric constant, variable, or expression.

Restriction: Nonpositive integers are invalid.

Details

The DIGAMMA function returns the ratio that is given by

[equation]

where [equation] and [equation] denote the Gamma function and its derivative, respectively. For argument>0, the DIGAMMA function is the derivative of the LGAMMA function.

Examples

SAS Statements Results
x=digamma(1.0);
-0.577215665

Previous Page | Next Page | Top of Page