powered by
sum over a range. On the R side, this function just returns the first argument, but allows for decorations.
sum_over(x, from, to)
The function returns sum(x)
the object to be summed
decoration for sum_from^to x_i
sum(), prod_over()
sum()
prod_over()
mathjax(quote(sum_over(x[i], i=1L, N)))
Run the code above in your browser using DataLab