Evaluates the gamma function and regularized incomplete gamma function. You must manually select the polymorphic instance you want to use.


icon

Inputs/Outputs

  • cdbl.png x

    x is the real input of the incomplete gamma function. x must be nonnegative.

  • cdbl.png a

    a is the upper limit of the regularized incomplete gamma function. The default value is Inf.

  • idbl.png g(x, a)

    g(x, a) is the result of the regularized incomplete gamma function for the given values of x and a.

  • Gamma Function

    The following equation defines the gamma function.

    The gamma function is related to the factorial function by the identity gamma(n + 1) = n! for integer n.

    Incomplete Gamma Function

    The following equation defines the regularized incomplete gamma function.

    The following intervals for the input values define the function.

    The following illustration shows the regularized incomplete gamma functions with a = 1, 2, 3, and 4 from top to bottom.