I have a query regarding as_numer_denom.
Example:
a, b = symbols(a b)
eq = a*y/x**2 + 2*b*y - b/x
eq.as_numer_denom
(a*x*y + 2*b*x**3*y - b*x**2, x**3)
Shouldn't there be one x less in the numerator and denominator?
--
You received this message because you are subscribed to the Google
as_numer_denom doesn't do any canceling. It is designed to be the
fastest way to convert a rational function into a product of
polynomials. If you want it canceled, you can call cancel on the
result.
Aaron Meurer
On Wed, Jun 19, 2013 at 9:06 AM, Manoj Kumar
manojkumarsivaraj...@gmail.com wrote: