How can I have a function that takes in a summation?
Say I have a function: $$f:\Bbb R\;\times\;?\to\Bbb R,\;\left(x, \sum_{n=a}^b\right) \mapsto \sum_{n=a}^bx$$ This is a very simple example of what I would like to do. As you can see I have a $?$. This is for the set that represents a sigma. How would one right this?
I will not be using the function defined above but rather constructing functions that take summations in.
Additional Questions
- How would one manipulate a summation as a set? (I am thinking along the lines of treating it as a function).
- More of a question on summation itself: How does the summation specifically manipulate input? eg. If treating it as a function (sorry) $$\sum:\Bbb N^2\times\Bbb R^\Bbb R?\to\Bbb R, \;(a, b, f)\mapsto\sum_{n=a}^bf(n)$$ Something along those lines.