RegularizedIncompleteGamma

RegularizedIncompleteGamma(a, x, tail=False)

Regularized incomplete Gamma function.

\forall x \in \Rset, \quad
\mathrm{P}(a, x) = \frac{\gamma(a, x)}{\Gamma(a)}
                 = \frac{1}{\Gamma(a)}\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 = \mathrm{P}(a, x).

  • If tail is True: result = \Gamma(a) - \mathrm{P}(a, x).

See also

SpecFunc.Gamma, SpecFunc.IncompleteGamma