XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ rgamma()

double rgamma ( double  x)

Reciprocal of gamma function 1/Γ(x)

Purpose
rgamma computes the reciprocal of the gamma function at x.
Returns
Reciprocal of the gamma function 1/Γ(x).
Parameters
[in]xArgument x.
Error handling
  • If x is an negative integer, NaN is returned and domain error (EDOM) is reported.
  • If x is 0, 0 is returned and range error (ERANGE) is reported.
  • Other range error (ERANGE) may occur.