Comment #6 on issue 3560 by [email protected]: solve() is a giant mess http://code.google.com/p/sympy/issues/detail?id=3560
So I think a Solution class could solve all these problems. We could allow solution[x] syntax to get the solution for a specific variable, but still allow "for sol in solutions" and even solve(x**2 - 1, x) == solve(y**2 - 1, y) (though I'm not yet convinced that this second one is a good idea). It would also be straightforward to allow parametric solutions (which I think encompasses both overdetermined systems as well as things like solve(sin(x), x), in the first case the parameter is real/complex, in the second, it is integral).
I'm not sure what you would expect from solve(x**2 + y**2 < 1, (x, y)). I don't see how to represent the unit open disk other than by the very equation you gave to solve.
By the way, the practical reason for returning dicts is that solve guesses the variables from the equations, so that you can just type solve([x - y, x + y]) (instead of solve([x - y, x + y], (x, y))).
-- 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.
