Comment #16 on issue 3128 by [email protected]: Sum and Product
manipulations
http://code.google.com/p/sympy/issues/detail?id=3128
When the same variable is used in more than one limit, generally reordering
will
change the summation. For example Sum(x, (x, 1, 3), (x, 1, 9)) evaluates to
54 while
Sum(x, (x, 1, 9), (x, 1, 3)) evaluates to 135. So, should we skip the
reordering of
Sum/Products where the same variable is repeated in limits or return the
same
Sum/Product without any changes if repetition is present?
I searched in mathematica and few other CASs and it seems like they do not
provide
reordering of variables in Sum. Actually they give a computed result for
Sum as
opposed to SymPy doing it on user request. So reordering of a variable
doesn't really
apply to them.
If we skip changing orders when repetition is present, I think there will
be no harm
in using the interface I proposed. Comments will be appreciated.
--
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.