OK I'm just a casual user trying to get the roots of a sequence of
polynomials. Thought I'd report a bug. I have pythonxy 2.6.2 installed
which comes with Sympy 0.6.5. In that version the roots failed at X**4
as in:
import sympy
x = sympy.Symbol('x')
PASS
sympy.roots(x**2 + x -5, x)
sympy.roots(x**3 + x**2 + x - 7, x)
FAIL - returns and empty dictionary
sympy.roots(x**4 + x**3 + x**2 + x - 9, x)
I checked the sympy site and saw a reference to solve fixes so I
installed 0.6.6. With that version the x**4 polynomial root passes.
However the next polynomial in the sequence fails i.e.
sympy.roots(x**5 + x**4 + x**3 + x**2 + x - 11, x)
{}
A simple numerical root finder gives one real root.
Can't see this being user error but as a casual user it could be. Hope
this helps you fix a bug.
--
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.