To factor/simplify each term, the best way appears to be to use collect and 
pass the simplification function as an argument. So I can use the following 

spy.collect((n-EY).series(N,x0 = spy.oo).removeO(),N, spy.factor)

It would be really nice if sympy can support collect() as a member function 
of expression objects. Only the part about a possible bug in 
sympy.simplify() stands. 

You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to