gammaFn function

double gammaFn(
  1. double x
)

Gamma 函数 Γ(x)(由 lnGamma 取指数,避免中间量溢出)

Implementation

double gammaFn(double x) => math.exp(lnGamma(x));