Returns the value of the Gamma function
Category: Mathematical
GAMMA ( argument )
argument
is numeric.
Restriction: Nonpositive integers are invalid.
The GAMMA function returns the integral, which is given by
For positive integers, GAMMA(x) is (x - 1)!. This function is commonly denoted by “ ( x ).
SAS Statements | Results |
---|---|
x=gamma(6); | 120 |