Comment #31 on issue 1598 by mattpap: New polynomials manipulation module
http://code.google.com/p/sympy/issues/detail?id=1598

1. I'm talking about this commit:

http://github.com/mattpap/sympy-polys/commit/8e1c2fd03f29128eefb584bce28c3ddde42dcf2c

Example:

In [3]: terms_gcd(x**3*y-x*y**3)
Out[3]:
     ⎛ 2    2⎞
x⋅y⋅⎝x  - y ⎠

In [4]: factor(_)
Out[4]: x⋅y⋅(x - y)⋅(x + y)

The only difference is that you still have to add expand=False.

2. OK. I thought fraction() is something better than as_numer_denom(). So,  
is there
any reason to have both?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--

You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.


Reply via email to