gamma - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


MTM

  

gamma

  

Gamma function

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

gamma(M)

Parameters

M

-

array or expression

Description

• 

The Gamma function is defined for the real part of z greater than zero by

Γ⁡z=∫0∞ⅇ−t⁢tz−1ⅆt

and is extended to the rest of the complex plane, less the non-positive integers, by analytic continuation. Gamma has a simple pole at each of the points z=0,-1,-2,....

• 

The gamma(M) function computes the elementwise gamma of M.  The result, R, is formed as R[i,j] = gamma(M[i,j]).

Examples

> 

with⁡MTM:

> 

M≔Matrix⁡2,3,fill=−3.6:

> 

γ⁡M

0.24685714300.24685714300.24685714300.24685714300.24685714300.2468571430

(1)

See Also

GAMMA

MTM