Comment #79 on issue 1694 by nicolas.pourcelot: solve has many issues with fractions
http://code.google.com/p/sympy/issues/detail?id=1694

Thanks Aaron.
What happens if I do some modification locally, and use git fetch after ?

@Vinzent (77)
"For Adds, factor() might be a good idea."
+1

And for what I can see, factor() has been greatly improved recently ! (It applied only to polynomials the last time I played with it).

solve(x*ln(x)-x*ln(x)**2, x)
NotImplementedError: Unable to solve the equation(tsolve: at least one Function expected at this point

solve(factor(x*ln(x)-x*ln(x)**2), x)
[0, e, 1]

This test should be added (or an equivalent one) in test_solvers.py
    assert solve(x*ln(x)-x*ln(x)**2, x) == [0, e, 1]



By the way, is there any reason for solve() to return lists instead of sets ? Actually, the order of the solutions is an implementation detail, and should not appear in test_solvers.py (but it may be too much of work just to change it).

--
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.

Reply via email to