powered by
Compute an n-th order asymptotic approximation to log Gamma function, using Bernoulli numbers Bern(k) for k in \(1, \ldots, 2n\).
Bern(k)
k
lgammaAsymp(x, n)
numeric vector with the same attributes (length() etc) as
length()
x, containing approximate lgamma(x) values.
x
lgamma(x)
numeric vector
integer specifying the approximation order.
Martin Maechler
lgamma; the \(n\)-th Bernoulli number Bern(n), and also exact fractions Bernoulli numbers BernoulliQ() from package gmp.
lgamma
Bern(n)
BernoulliQ()
## The function is currently lgammaAsymp
Run the code above in your browser using DataLab