sum_over: sum over a range. On the R side, this function just returns...

View source: R/mathml.R

sum_overR Documentation

sum over a range. On the R side, this function just returns the first argument, but allows for decorations.

Description

sum over a range. On the R side, this function just returns the first argument, but allows for decorations.

Usage

sum_over(x, from, to)

Arguments

x

the object to be summed

from

decoration for sum_from^to x_i

to

decoration for sum_from^to x_i

Value

The function returns sum(x)

See Also

sum(), prod_over()

Examples

mathjax(quote(sum_over(x[i], i=1L, N)))


mathml documentation built on June 8, 2025, 11:12 a.m.