Another thing that I think would be useful is a more robust method of
eliminating variables from expressions: Mathematica's Eliminate.
Sometimes this is couched in terms of "matching coefficients" (which
sympy somewhat handles for a 2 equation case).
>>> solve([x**2+3*x+4, (x+a)**2+b], [a,b]) # no solution
>>> solve_undetermined_coeffs(Eq(x**2+3*x+4, (x+a)**2+b),[a,b],x)
[(3/2, 7/4)]
But it would be nice to have this for more than one equation and also
have it be more flexible so it would work if there were more than one
variable to be eliminated (e.g. x and y).
--
You received this message because you are subscribed to the Google Groups
"sympy" 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?hl=en.