Hi Mateusz and all, refine_root() doesn't work with non-squarefree polynomials. Unfortunately > it's not written in the documentation. Remove root multiplicities with > sqf() and then proceed with your original approach, e.g.: > > In [8]: sqf_list(f) > Out[8]: > ⎛ ⎡⎛ 2 ⎞⎤⎞ > ⎝1, ⎣⎝x - 3⋅x + 1, 2⎠⎦⎠ >
This was the key which solves my problem. Thank you all for your valuable help! Best regards, Heiner -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.