In any expression, how to factor a constant (that doesn't depend on certain symbols)?
For example (-2xy+2).factor_function(x,y) should give 2, (1-xy). as_coeff_mul doesn't work. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/c4e07d58-57b3-457f-9fbf-2d92b18293bbn%40googlegroups.com.
