sum_over {mathml}R 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)))


[Package mathml version 1.2 Index]