Function trv::maths::get_lngamma_components#

Function Documentation#

void trv::maths::get_lngamma_components(double x, double y, double &lnr, double &theta)#

Return the real and imaginary parts of the log-gamma function.

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.