Chapter Contents

Previous

Next
DIGAMMA

DIGAMMA



Returns the value of the DIGAMMA function

Category: Mathematical


Syntax
Arguments
Details
Example

Syntax

DIGAMMA(argument)

Arguments

argument
is numeric.
Restriction: Nonpositive integers are invalid.


Details

The DIGAMMA function returns the ratio that is given by

[IMAGE]

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


Example

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


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.