What options are available for specifying the order in which terms are 
printed?  If I do

sympy.diff(f,x) + sympy.diff(f,x,2)

I get

Derivative(f(x), x) + Derivative(f(x), x, x)


but if I do


sympy.diff(f,x) + h*sympy.diff(f,x,2)

then the terms are reversed:


h*Derivative(f(x), x, x) + Derivative(f(x), x)

I think I know what the logic here is, but I'd like to order terms by 
increasing order of derivative (or increasing powers of h). How can I do 
that?

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sympy/-/fx0kfW7_fkUJ.
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.

Reply via email to