Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Computes the gamma function for the provided number.
Syntax
gamma(number)
Learn more about syntax conventions.
Parameters
| Name | Type | Required | Description | 
|---|---|---|---|
| number | real | ✔️ | The number used to calculate the gamma function. | 
Returns
Gamma function of number.
Examples
The following example shows how to use the gamma() function to compute the gamma of the input parameter.
print result = gamma(5)
Output:
| result | 
|---|
| 24 | 
Related content
For computing log-gamma function, see loggamma().