| Functions and CALL Routines |
| Category: | Mathematical |
| Syntax | |
| Arguments | |
| Details | |
| Examples |
Syntax |
| GAMMA(argument) |
specifies a numeric constant, variable, or expression.
| Restriction: | Nonpositive integers are invalid. |
| Details |
The GAMMA function returns the integral given by
![[equation]](images/deqn99.gif)
For positive integers, GAMMA(x) is (x - 1)!. This
function is commonly denoted by
.
| Examples |
| SAS Statements | Results |
|---|---|
x=gamma(6); |
120 |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.