Use the factor_list function.

Aaron Meurer

On Tue, Nov 5, 2013 at 12:19 PM, Christophe Bal <[email protected]> wrote:
> I could achieve this playing  with factor().args. But is there an existing
> function that does that kin d of stuff ? Do you have something that for x**2
> - 2*x + 1 gives the factorization in the form [(x-1, 2)] or something
> similar ? I don't see that on the web but I only have one pair of glasses.
> ;-)
>
>
> 2013/11/5 Christophe Bal <[email protected]>
>>
>> Hello.
>>
>> What is the easiest way to obtain the list of the factor of a polynom ? I
>> just need to have this factor and not the factorization.
>>
>> Best regards.
>> Christophe.
>
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to