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 gamma function.

  • idbl.png g(x)

    g(x) is the result of the gamma function for the given value of x.

  • 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.