class="resources"
Evaluates the gamma function or the incomplete gamma function, depending on whether you wire a. The default behavior of the VI is to evaluate the complete gamma function. Wire the a input to evaluate the incomplete beta function. Details

![]() |
x is the input argument. |
![]() |
a is the upper limit of the incomplete gamma function. |
![]() |
g(x, a) returns the gamma function for x or the incomplete gamma function for x and a if you have wired a. |
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.
The following equation defines the incomplete gamma function for any real number x and the positive real number a for a > 0.

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