Comment #12 on issue 2033 by [email protected]: solve should be able to
handle rational function systems
http://code.google.com/p/sympy/issues/detail?id=2033
Unless there are other ideas, I will just try solve the numerators of
systems of equations and then check that the results don't set any
denominator to 0:
eq=[w.as_numer_denom()[0] for w in [r - x**2 - y**2, tan(t) - y/x]]
solve(eq,[x,y])
[(sqrt(r*tan(t)**2/(tan(t)**2 + 1))/tan(t), sqrt(r*tan(t)**2/(tan(t)**2 +
1))),
(-sqrt(r*tan(t)**2/(tan(t)**2 + 1))/tan(t), -sqrt(r*tan(t)**2/(tan(t)**2 +
1)))]
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.