Comment #3 on issue 3560 by [email protected]: solve() is a giant mess
http://code.google.com/p/sympy/issues/detail?id=3560
"and a consistent return type"
Indeed.
I didn't work on sympy for a while, so some questions :
* is there some consensus now about output format ?
* is there a corresponding issue opened for it ?
* is there a place (in sympy wiki ?) which sum up pros and cons for
different output formats ?
(I couldn't find any in https://github.com/sympy/sympy/wiki)
I remember some discussions on this subject in google groups, notably this
one :
https://groups.google.com/forum/?fromgroups=#!topicsearchin/sympy/solver$20AND$20output/sympy/lUzKkeV3QJI
IMO, the right direction is using some kind of sympy.Set flavor, at least
by default, as Ronan pointed out in this discussion.
As fr as I'm concerned, I would drop dict output support.
However, if dict output is really needed, it could be supported for some
equations types by setting a flag.
Anyway, it shouldn't be used by default, as dict can't handle every case,
and so can't be used for output format unification.
(Adding a flag for this would not ease the flag mess, but better this that
taking no decision and keeping current situation).
I think this output issue must be addressed before any redesign attempt.
--
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.