This also doesn't work well with expand() because the method would have to be on Add to work. I think the best solution would be to write a function that takes an expression with summations and tries to combine them.
Aaron Meurer On Thu, Aug 30, 2012 at 12:59 PM, Chris Smith <smi...@gmail.com> wrote: > On Fri, Aug 31, 2012 at 12:41 AM, Aaron Meurer <asmeu...@gmail.com> wrote: >> This doesn't really make sense as expansion, though. >> >> This is closely related to >> http://code.google.com/p/sympy/issues/detail?id=2297. >> > > If you expanded the sums you would obtain the single `f(x+1)`-like > term. It's just a thought and `_basic` is suppose to be used for > expansions that don't fit other categories...it's hardly used (if at > all), however. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to sympy@googlegroups.com. > To unsubscribe from this group, send email to > sympy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.