Comment #63 on issue 1694 by nicolas.pourcelot: solve has many issues with
fractions
http://code.google.com/p/sympy/issues/detail?id=1694
I'm trying to improve solve() algorithm a bit.
For now, solver() can't solve elementary equations like this one :
solve(ln(x)*(ln(x)+1),x)
NotImplementedError: Unable to solve the equation.
Using elementary rule A*B == 0 <=> A == 0 or B == 0 would fix this.
I also plan to use something like this :
A**r == 0 <=> (A == 0 and r > 0)
since if r is negative, A**r == 1/A**(-r) which can't be null,
if r is null, A**r == 1 (assuming 0**0 == 1)
and if r is non real (and A != 0), A**r == exp(r*ln(A)) which can't be null.
(As for real positive number, I'm not so sure about what 0**pi means, but I
would like to say that 0**pi == 0, at least by continuity, and it seems to
be sympy point of view).
Am I right or did I miss something ?
--
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.