Comment #10 on issue 3560 by [email protected]: solve() is a giant mess
http://code.google.com/p/sympy/issues/detail?id=3560
@asmeurer (I didn't see #c8 before):
- We *have* a Set class.
Yes, but we need more Set subclasses
- In general you can't use attribute access to get at solutions.
+1
- Maybe you want solve(x**2 + y**2 < 1) to return the Set object
corresponding to a Disk (for now it would have to just be
TransformationSet((x, y), x**2 + y**2 < 1)). This seems to be a rather
loose definition of solving.
Saying that the unit disk is the solution of x**2 + y**2 < 1 is just like
saying (-oo, 0) is the solution of x < 0. I don't see why you call it
loose. And what other object is there that might be called the solution of
the inequation??
Also, I'm not sure what you mean with the TransformationSet, but I don't
think that the disk can be expressed that way. It has to be something else
(a FilteredSet, as I just called it): mathematically, it's {(x,y) in R²| x²
+ y² < 1}, which cannot be put into the form {f(x, y)| (x, y) in S}.
--
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.