FUNCTION REFERENCE
gamma
Gamma function.
Gamma function.
Syntax
y = gamma(x)Elementwise Gamma(x) for real x. Poles at 0 and the negative integers give
Inf; gamma(-Inf) also gives Inf.
Example
gamma(5) % 24Differences from MATLAB: Real double and logical input only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.