Comment #3 on issue 3657 by [email protected]: Summation over
non-integers
http://code.google.com/p/sympy/issues/detail?id=3657
This method will not work if f is non linear. For instance,
summation(f, (i, 0, 1, 0.2)) [0.2 is step]
= f(0.2) + f(0.4) + f(0.6) + f(0.8) + f(1.0)
Now, if we scale the limits to be integers, there is no guarantee that f(x)
will scale the same as x. If indeed this is to be implemented for a general
function, this will need some other kind of implementation. Perhaps
eval_sum will have to be extended for this, I'm not really sure.
Of course, we can always have an implementation where f is linear. But that
might be quite odd; having this functionality for only linear functions, I
mean.
Comments?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.