Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.0initial version

Author

Allan CORNET