Evaluates the gamma function or the incomplete gamma function. You must manually select the polymorphic instance you want to use.
Use the pull-down menu to select an instance of this VI.

![]() |
x is the real input of the gamma function. |
![]() |
g(x) is the result of the gamma function for the given value of x. |

![]() |
x is the real input of the incomplete gamma function. x must be nonnegative. |
![]() |
a is the upper limit of the incomplete gamma function. The default value is Inf. |
![]() |
g(x, a) is the result of the 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 (n + 1) = n! for integer n.
Incomplete Gamma Function
The following equation defines the incomplete gamma function.

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