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

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated