GAMMA

 

 The gamma function.

  Y = GAMMA(X) evaluates the gamma function at all the elements of X.

  X must be real.

  gamma(x) = integral from 0 to inf of t^(x-1) exp(-t) dt.

  gamma(n+1) = n! = n factorial = prod(1:n).

 

 

  See also GAMMALN3DEYYP5, GAMMAINC1BK97S.