lgammaAsymp | R Documentation |
Compute an n-th order asymptotic approximation to log Gamma function,
using Bernoulli numbers Bern(k)
for k
in
1, \ldots, 2n
.
lgammaAsymp(x, n)
x |
numeric vector |
n |
integer specifying the approximation order. |
numeric vector with the same attributes (length()
etc) as
x
, containing approximate lgamma(x)
values.
Martin Maechler
lgamma
; the n
-th Bernoulli number
Bern(n)
, and also exact fractions Bernoulli numbers
BernoulliQ()
from package gmp.
## The function is currently
lgammaAsymp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.