In [6]: factor(x**4 + 1, extension=[I, sqrt(2)])
Out[6]: 
⎛      ___     ___  ⎞ ⎛      ___     ___  ⎞ ⎛      ___     ___  ⎞ ⎛      
___  
⎜    ╲╱ 2    ╲╱ 2 ⋅ⅈ⎟ ⎜    ╲╱ 2    ╲╱ 2 ⋅ⅈ⎟ ⎜    ╲╱ 2    ╲╱ 2 ⋅ⅈ⎟ ⎜    ╲╱ 
2   
⎜x - ───── - ───────⎟⋅⎜x - ───── + ───────⎟⋅⎜x + ───── - ───────⎟⋅⎜x + 
───── +
⎝      2        2   ⎠ ⎝      2        2   ⎠ ⎝      2        2   ⎠ ⎝      
2    

   ___  ⎞
 ╲╱ 2 ⋅ⅈ⎟
 ───────⎟
    2   ⎠

On Monday, December 8, 2014 9:03:25 PM UTC+3, Paul Royik wrote:
>
> This is good method, but it doesn't work for x^4+1
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/24d952bd-bde3-4860-8840-12337fec4f62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to