Function gamma_lanczos
Source pub fn gamma_lanczos(z: Complex) -> Complex
Expand description
Compute the Gamma function Γ(z) using the Lanczos approximation.
Valid for Re(z) > 0. For Re(z) ≤ 0 the reflection formula
Γ(z)·Γ(1−z) = π/sin(πz) is used automatically.
§Arguments
§Returns
Approximation of Γ(z).