as_content_primitive removes Rational content from an expression. Does
it make sense to remove radical content, too, but leave it as a factor
with the primitive portion?
>>> (sqrt(2+2*x)+sqrt(10+10*x)).as_content_primitive()
(1, sqrt(2)*(sqrt(x + 1) + sqrt(5)*sqrt(x + 1)))
see https://github.com/sympy/sympy/pull/824
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.