Updates:
Status: Accepted
Cc: mattpap
Labels: NeedsReview
Comment #3 on issue 1305 by [email protected]: sympy.roots not working for
slightly more complicated polynomials
http://code.google.com/p/sympy/issues/detail?id=1305
could not reproduce the problem. Maybe this was solved with the merge of
mateusz'
ratint branch?
In [9]: sympy.roots(f2, x)
Out[9]:
{(-a*b*c - d*(1/d)**(1/2)*(1/(d**2 + b**2*d**2 -
2*b*d**2))**(1/2)*(-4*a**2*d**2*(d**2 + b**2*d**2 - 2*b*d**2) + 4*a*c*(d**2
+
b**2*d**2 - 2*b*d**2) + 4*a*b*c**2*(d**2 + b**2*d**2 - 2*b*d**2) +
4*b*a**2*d**3*(d**2 + b**2*d**2 - 2*b*d**2) - 4*a*b*c*d*(d**2 + b**2*d**2 -
2*b*d**2)
- 4*b*c*a**2*d**2*(d**2 + b**2*d**2 - 2*b*d**2) + d*a**2*b**2*c**2)**(1/2) +
b*d*(1/d)**(1/2)*(1/(d**2 + b**2*d**2 -
2*b*d**2))**(1/2)*(-4*a**2*d**2*(d**2 +
b**2*d**2 - 2*b*d**2) + 4*a*c*(d**2 + b**2*d**2 - 2*b*d**2) +
4*a*b*c**2*(d**2 +
b**2*d**2 - 2*b*d**2) + 4*b*a**2*d**3*(d**2 + b**2*d**2 - 2*b*d**2) -
4*a*b*c*d*(d**2
+ b**2*d**2 - 2*b*d**2) - 4*b*c*a**2*d**2*(d**2 + b**2*d**2 - 2*b*d**2) +
d*a**2*b**2*c**2)**(1/2))/(-2*a*d + 2*a*b*d - 2*a*b*c*d - 2*a*b**2*d**2 +
2*a*b*d**2
+ 2*a*c*d*b**2): 1,
(-a*b*c + d*(1/d)**(1/2)*(1/(d**2 + b**2*d**2 -
2*b*d**2))**(1/2)*(-4*a**2*d**2*(d**2 + b**2*d**2 - 2*b*d**2) + 4*a*c*(d**2
+
b**2*d**2 - 2*b*d**2) + 4*a*b*c**2*(d**2 + b**2*d**2 - 2*b*d**2) +
4*b*a**2*d**3*(d**2 + b**2*d**2 - 2*b*d**2) - 4*a*b*c*d*(d**2 + b**2*d**2 -
2*b*d**2)
- 4*b*c*a**2*d**2*(d**2 + b**2*d**2 - 2*b*d**2) + d*a**2*b**2*c**2)**(1/2) -
b*d*(1/d)**(1/2)*(1/(d**2 + b**2*d**2 -
2*b*d**2))**(1/2)*(-4*a**2*d**2*(d**2 +
b**2*d**2 - 2*b*d**2) + 4*a*c*(d**2 + b**2*d**2 - 2*b*d**2) +
4*a*b*c**2*(d**2 +
b**2*d**2 - 2*b*d**2) + 4*b*a**2*d**3*(d**2 + b**2*d**2 - 2*b*d**2) -
4*a*b*c*d*(d**2
+ b**2*d**2 - 2*b*d**2) - 4*b*c*a**2*d**2*(d**2 + b**2*d**2 - 2*b*d**2) +
d*a**2*b**2*c**2)**(1/2))/(-2*a*d + 2*a*b*d - 2*a*b*c*d - 2*a*b**2*d**2 +
2*a*b*d**2
+ 2*a*c*d*b**2): 1}
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---