sum.yac_symbol: Summation
Description
If only expr
given: sum elements.
Usage
# S3 method for yac_symbol
sum(expr, var, lower, upper, ..., na.rm = FALSE)
Arguments
- expr
Expression to be summed
- var
Variable to sum
- lower
Lower limit
- upper
Upper limit
- ...
Not used
- na.rm
Not used
Details
Else: sums expr
by letting var
taking values
from lower
to upper
(potentially Inf
)