Comment #5 on issue 2745 by [email protected]: should cancel expand exp? http://code.google.com/p/sympy/issues/detail?id=2745
Also, we need to improve the root finder. The root for the above polynomial should be given as 2 + 3**(1/3), not (-3)**(1/3)*(-1/2 + sqrt(3)/2*I) + 3**(1/3). You can get the desired result in this case by calling expand(complex=True) on the result:
In [5]: expand(solve(minpoly((2 + 3**(S(1)/3)), x))[2], complex=True) Out[5]: 3 ___ ╲╱ 3 + 2 I don't know how this generalizes. -- 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.
