Does anyone have a suggestion of how to best retrieve the Integer gcd and factors from an Add instead of getting the Rational?
>>> terms_gcd(3*x+9*x**2/2) # I want 3*x*(3*x/2 + 1) 3*x*(3*x + 2)/2 >>> primitive(3*(3*x/2 + 1)) (3/2, 3*x + 2) >>> gcd(3*x,9*x**2/2) x -- 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.