I'd put it as a separate function, or at least as a non default hint to expand. And if it goes in expand, it should give the whole summation. If it's just a series (with an O term) it should go in series somewhere.
Aaron Meurer On Oct 8, 2012, at 3:07 AM, Sachin Joglekar <[email protected]> wrote: The only question I have is how should I accomodate this functionality? Should I modify the expand() function or write this as a separate function? >> > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
