Scythe-1.0.3
double scythe::lngammafn ( double  x) [inline]

The natural log of the absolute value of the gamma function.

Computes the natural log of the absolute value of the gamma function, evaluated at x.

Parameters:
xThe value to compute log(abs(gamma())) at.
See also:
gammafn(double x)
pgamma(double x, double shape, double scale)
dgamma(double x, double shape, double scale)
rng::rgamma(double shape, double scale)
Exceptions:
scythe_range_error(Level 1)
scythe_precision_error(Level 1)

References fabs(), gammafn(), log(), SCYTHE_CHECK_10, and sin().

Referenced by dt1(), lnbetafn(), lndt1(), and pgamma().