Function trv::maths::eval_gamma_lanczos#
Defined in File maths.cpp
Function Documentation#
-
std::complex<double> trv::maths::eval_gamma_lanczos(std::complex<double> z)#
Evaluate the gamma function \( \Gamma(z) \) on the complex plane using the Lanczos approximation.
Here the Lanczos approximation series \( A_g(z) \) uses \( g = 7 \) with \( N = 9 \) terms.
See also
trv::eval_lanczos_approx_series()
- Parameters:
z – Complex argument.
- Returns:
Value of \( \Gamma(z) \).