Macaulay2 » Documentation
Packages » Macaulay2Doc » analytic functions » regularizedGamma
next | previous | forward | backward | up | index | toc

# regularizedGamma -- upper regularized gamma function

- Usage:
    `regularizedGamma(s, x)`
- Inputs:
  - s, a real number,
  - x, a real number,
- Outputs:
  - a real number,

## Description

This is the (upper) regularized gamma function \(Q(s, x) = \frac{\Gamma(s,x)}{\Gamma(s)}\).

    i1 : regularizedGamma(3, 7)

    o1 = .02963616388052177

    o1 : RR (of precision 53)

    i2 : Gamma(3, 7) / Gamma 3

    o2 = .02963616388052178

    o2 : RR (of precision 53)

## See also

- Gamma -- Gamma function
- inverseRegularizedGamma -- inverse of the upper regularized gamma function

## Ways to use regularizedGamma:

- `regularizedGamma(CC,CC)`
- `regularizedGamma(CC,RR)`
- `regularizedGamma(RR,CC)`
- `regularizedGamma(RR,RR)`
- `regularizedGamma(RR,RRi)`
- `regularizedGamma(RRi,RR)`
- `regularizedGamma(RRi,RRi)`

## For the programmer

The object regularizedGamma is a method function.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/Gamma-doc.m2:71:0.