Function trv::maths::eval_gamma#

Function Documentation#

std::complex<double> trv::maths::eval_gamma(std::complex<double> z)#

Evaluate the gamma function \( \Gamma(z) \) on the complex plane using the Lanczos approximation.

Parameters

z – Complex argument.

Returns

Value of \( \Gamma(z) \).