From Wikipedia, the free encyclopedia
In mathematics, the Lanczos approximation is an approximation of the Gamma function published in 1964 by Cornelius Lanczos.
Definition
Lanczos gives the approximation as
,
for an arbitrary positive constant g, with

or equivalently,
.
Here,

with
denoting the (i, j)th element of the Chebyshev polynomial coefficient matrix which can be calculated recursively from the identities
 |
|
 |
|
 |
|
 |
.
|
Lanczos' approximation is only accurate for the right complex half plane, but can be extended to the entire complex plane by the reflection formula,
.
Implementations
The Lanczos approximation for the Gamma function is used in the GNU Scientific Library.
References
External links