summed-objects {sumR} | R Documentation |
S3 Class for objects containing iterated summations
Description
Contains the summations in the log scale. The value can either be an approximation to an infinite series or a finite sum.
Usage
## S3 method for class 'summed'
print(x, ...)
## S3 method for class 'summed'
as.double(x, ...)
Arguments
x |
The |
... |
Currently unused. |
Value
For print
: The invisible object.
For as.numeric
/as.double
: The approximated sum.
Elements in the list
sum
The resulting sum in the log scale.
n
The performed number of iterations. This value represents the number of series elements evaluations performed during the summation.
method
The method used for the summation.
maxReached
TRUE
orFALSE
. Indicates whether the maximum iterations was reached.
See Also
infiniteSum()
, infiniteSum_batches()
and
finiteSum()
for available methods.
[Package sumR version 0.4.15 Index]