Function trv::maths::get_lngamma_parts#
Defined in File maths.cpp
Function Documentation#
-
void trv::maths::get_lngamma_parts(double x, double y, double &lnr, double &theta)#
Get the real and imaginary parts of the log-gamma function \( \ln\Gamma(z = x + \mathrm{i}\,y) \).
See also
gsl_sf_lngamma_complex_e() used to evaluate the log-gamma function with complex argument.
- Parameters:
x – [in] Real part of the complex argument.
y – [in] Imaginary part of the complex argument.
lnr – [out] Real part of the log-gamma function value.
theta – [out] Imaginary part of the log-gamma function value.