> Solution class is needed indeed. Also, to recognize correctly the
> number of solutions with the help of `len` procedure. If we return the
> dictionary it is not clear:
>
>>>> len({x: 3, y: 2})
> 2
>>>> [{x: 3, y: 2}, {x: 8, y: -3}]
> 2 (too)
>
Until a Solution class exists, the multi-solution case should come back like
the single solution: as a list.
So solutions will look like `[1]`, ` [1, 2]`, `[{x: 3, y: 2}]` or `[{x: 3, y:
2}, {x: 8, y: -3}]`.
--
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.