
Compute a continued fraction approximation to the series (infinite sum)
logcf(x, i, d, eps, maxit = 10000)
numeric vector
positive numeric
non-negative numeric
positive number, the convergence tolerance.
a positive integer, the maximal number of iterations or terms in the truncated series used.
a numeric vector with the same attributes as x
.
lgamma1p
, log1pmx
, and
pbeta
, whose prinicipal algorithm has evolved from TOMS 708.
# NOT RUN {
l32 <- curve(logcf(x, 3,2, eps=1e-7), -3, 1)
abline(h=0,v=1, lty=3, col="gray50")
plot(y~x, l32, log="y", type = "o", main = "logcf(*, 3,2) in log-scale")
# }
Run the code above in your browser using DataLab