<< factor Special functions gammaln >>

gamma


Gamma special function


Syntax


R = gamma(M)

Input argument


M

a real single or real double matrix.

Output argument


R

result of gamma function.

Description


gamma computes the gamma function.

gamma is an extension of the factorial function.

Example


R = gamma([-pi:0.1:pi])

See also


gammaln, factorial.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< factor Special functions gammaln >>