Macaulay2 » Documentation
Packages » Macaulay2Doc :: Gamma
next | previous | forward | backward | up | index | toc

Gamma -- Gamma function

Synopsis

Description

With one argument, this is the gamma function \(\Gamma(x) = \int_0^\infty t^{x-1}e^{-t}\,dt\).

i1 : Gamma 6

o1 = 120

o1 : RR (of precision 53)

With two arguments, it is the (upper) incomplete gamma function \(\Gamma(s, x) = \int_x^\infty t^{s-1}e^{-t}\,dt\).

i2 : Gamma(3, 7)

o2 = .0592723277610436

o2 : RR (of precision 53)

See also

Ways to use Gamma :

For the programmer

The object Gamma is a method function.