Gamma
Advanced Analysis Library Only
double Gamma (double x, double *a);
Purpose
Evaluates the gamma function or the regularized gamma function, depending on the value of a. The gamma function is defined as follows:
The regularized gamma function is defined as follows:
The following formula relates the gamma function to the factorial function:
Parameters
Input | ||
Name | Type | Description |
x | double | The point at which the gamma function is evaluated. |
a | double * | The upper limit of the regularized gamma function. The gamma function is evaluated if a is NULL. Otherwise, the regularized gamma function is evaluated. |
Return Value
Name | Type | Description |
result | double | The value of the evaluated gamma or regularized gamma function. |
Additional Information
Library: Advanced Analysis Library
Include file: analysis.h
LabWindows/CVI compatibility: LabWindows/CVI 8.0 and later