WebTools
Accueil
🔬

Gamma Function

Calculate the gamma function Γ(x) and log-gamma function lnΓ(x).

Γ(x)
-
lnΓ(x)
-
Γ(x) = ∫₀^∞ t^(x−1) e^(−t) dt

Comment utiliser

Enter x and the gamma function Γ(x) and log-gamma lnΓ(x) are computed using the Lanczos approximation. For positive integers the result matches (n−1)!, and negative non-integer arguments are supported as well. The log form avoids overflow for large x, which is what statistical computations typically need when evaluating densities that contain gamma factors.

  • High-precision Γ(x) (Lanczos approximation)
  • lnΓ(x)
  • Equals (n-1)! for integers
  • Negative values supported

Cas d'utilisation

  • Statistical distributions
  • Generalized factorial
  • Physics calculations
  • Probability theory

Partager

Outils connexes