Jump to content

Lanczos approximation

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredrik (talk | contribs) at 12:05, 3 June 2005 (initial entry). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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

  • Weisstein, Eric W. "Lanczos Approximation". MathWorld.