I think they should always denest. That way, you always have a canonical form, and things don't have to be written to handle both Integral(f(x), x, x) and Integral(Integral(f(x), x), x).
Aaron Meurer On Thu, Apr 14, 2011 at 1:52 PM, smichr <[email protected]> wrote: > Can anybody can think of a reason not to denest Integrals: > > So this... > > h[1] >>> pprint(Integral(Integral(x))) > / > | > | / > | | > | | x dx dx > | | > | / > | > / > > would automatically become this... > > h[1] >>> pprint(Integral(x,x,x)) > / / > | | > | | x dx dx > | | > / / > > /c > > -- > 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.
