Gamma (capital)
The gamma function Γ(x), which extends the factorial to real numbers.
In ML papers
is the gamma function: for whole numbers , and it fills in the values between them smoothly. It shows up in the normalizing constants of the Beta, Dirichlet, Gamma and Student-t densities, so you meet it whenever a paper writes one of those out in full. Code works with its logarithm (lgamma) to avoid overflow.
The Gamma distribution is a distribution over positive numbers; it is written with the word, not the bare letter.
Other meanings, by context
- Optimal transport. or : the set of joint distributions (couplings) with marginals and , as in the Wasserstein distance.
- Linear algebra. Sometimes a matrix, e.g. a diagonal matrix of scales.
How to type it
| LaTeX | Shows |
|---|---|
\Gamma |
A worked example
At whole numbers it is a shifted factorial; at one half it gives .
Common confusions
- Lowercase (Gamma) is a different symbol: a discount factor or a scale.