I don't think so -- as I understand it, what David is looking for is
a method for taking a specification for the general term in a series
(of indefinite length) and accumulating the sum of terms until a
convergence criterion is satisfied -- see his Mathematica-inspired
hypothetical example (in his
Not 100% if this is what you are looking for, but maybe Reduce("+", x)
will do it? E.g.
Reduce("+", 1/2^(1:10))
# [1] 0.9990234
Hope this helps.
Allan
On 14/07/10 11:57, David Bickel wrote:
What are some reliable R functions that can compute the value of a
convergent series?
David
___
Thanks, Ted. I meant to post this previous reply to the list:
On 10-07-14 07:43, David Bickel wrote:
Hi Ted,
Here are my translations to "integrate"-like syntax of a conflation of
examples from the following Mathematica pages:
x <- 2.232; sum(f = function(n) {x^n/factorial(n)}, lower = 0, uppe
On 14-Jul-10 10:57:02, David Bickel wrote:
> What are some reliable R functions that can compute the value of a
> convergent series?
>
> David
Please give an example of a definition (as you would specify it
to an R function) of a "convergent series" that you want to compute!
Your query is about
4 matches
Mail list logo