Overview
The gamma function is calculated for the given value.
Applying the Formula
All statistical formulas are calculated using the Statistics class, and the following table describes how to use its GammaFunction method.
Value/Description | Example | |
---|---|---|
Formula Name: | Gamma Function | Statistics.GammaFunction(6.2) |
Parameters: |
n: a value for which the gamma value is required. |
Statistics.GammaFunction(6.2) |
Return: | A double that represents the gamma function value. |
- |
Example
The following returns the gamma function value for the given argument.
Visual Basic | Copy Code |
---|---|
|
C# | Copy Code |
---|---|
|
Financial Formulas
Formulas Overview
Statistical Formulas
Using Statistical Formulas
Statistical Formula Listing