Function trv::maths::eval_lngamma#

Function Documentation#

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

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

Parameters

z – Complex argument.

Returns

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