Updates:
Status: Fixed
Comment #3 on issue 2064 by smi...@gmail.com: terms_gcd(sqrt(4 + 4*x))
doesn't give 2*sqrt(1 + x)
http://code.google.com/p/sympy/issues/detail?id=2064
terms_gcd is meant to only deal with gcd on each term, not within terms.
The gcd_terms function does the
Comment #2 on issue 2064 by smi...@gmail.com: terms_gcd(sqrt(4 + 4*x))
doesn't give 2*sqrt(1 + x)
http://code.google.com/p/sympy/issues/detail?id=2064
There is a version with a similar name that is expr-based that lives in
core.exprtools. I've modified that and made a more general
Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium
New issue 2064 by smichr: terms_gcd(sqrt(4 + 4*x)) doesn't give 2*sqrt(1 +
x)
http://code.google.com/p/sympy/issues/detail?id=2064
Although terms_gcd(0) gives 0 in polys11 rather than nan, the 2 from sqrt(4
+ 4*x) is not