Hello, here is a simple code : ================ x = sympy.Symbol('x') a = sympy.Symbol('a') f = 'x**3+4*x+1/x+a' g = sympy.integrate(f,x) ================ The output put is "a*x + log(x) + 2*x**2 + x**4/4" . I think that it would be better to have the following output "a*x + 2*x**2 + x**4/4 + log(x)" . All polynomial expressions (regarding to letters) must be at the beginning.
Best regards. Christophe. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---