Comment #8 on issue 2042 by asmeu...@gmail.com: Frac() object for rational function arithmetics
http://code.google.com/p/sympy/issues/detail?id=2042

Term doesn't use the Poly classes internally, so it isn't going to be as fast as manually using (Poly, Poly). Also, it doesn't do things that Frac should do like keep the numerator and denominator canceled. It actually goes against what Poly is and Frac would be, because those classes are all about the expanded polynomial(s), whereas Term is about the factors of the polynomials.

Actually, it would be interesting attach a Term object to Poly objects once factorization is done (or if some partial factorization is known, e.g., through sqf or because the Poly was created through multiplication) to allow for cached performance. Of course, we would have to rewrite it to use Poly internally, and Factor would need some knowledge of if knows if the factor is irreducible or not (based on how it was created).

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@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