IncompleteGamma

IncompleteGamma(a, x, tail=False)

Incomplete Gamma function.

\forall x \in \Rset, \quad
\gamma(a, x) = \int_0^x t^{a-1}\exp(-t)\di{t}

Parameters
afloat \in \Rset^*_+
xfloat
tailbool, optional

By default, tail is False.

Returns
resultfloat
  • If tail is False: result = \gamma(a, x).

  • If tail is True: result = \Gamma(a) - \gamma(a, x).