Mateusz Paprocki a écrit :
> there is a dedicated tool for obtaining polynomial roots, e.g.:
> In [3]: roots(f, x)
> Out[3]: {1: 3}
>   
Thanks, that is very good for my purpose.
>> f = '(x-1)**3'
>>     
> btw. You don't have to enter expressions as strings.
Indeed, I do that because I'll use sympy in a Python program that will 
work with string.

Thanks a lot.
Christophe.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to