Comment #8 on issue 3175 by
asme...@gmail.com: Sum with reversed limits
There is debate over what these "reversed" sums should return (see the pull
request). There are four options:
- summation(n, (n, 4, 0)) should give 0.
- summation(n, (n, 4, 0)) should give the same thing as summation(n, (n, 0,
4)).
- summation(n, (n, 4, 0)) should give the same thing as -summation(n, (n,
0, 4)).
- summation(n, (n, 4, 0)) should raise ValueError.
One thing is clear, though: doit() and evalf() should agree.