Comment #1 on issue 2042 by mattpap: Frac() object for rational function arithmetics
http://code.google.com/p/sympy/issues/detail?id=2042
This is what I wanted to achieve, i.e. to have a model for rational functions similar to the model we have for polynomials: DMF (SMF) class for low-level manipulation of rational functions and Frac for high-level manipulation.
Rational functions are a bit more than just two polynomials, because an intriguing question appears whether you should alter the ground domain of the numerator and the denominator, i.e. store a rational function as c*(p/q), where coefficients of p and q have denominators cleared.
Unfortunately, I didn't have enough time to make rational functions in polys really working, so we have (not that good at all) DMF class and no Frac class. I postponed this too much and it seems that it would have been useful now, if it was implemented (but you should know what they say about postponing: the longer you postpone, the longer you postpone).
-- 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.