-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I have been testing the library on some polynomials with integer coefficients. On many of them incorrect roots are found. One of the examples:
Coefficients: [1,0,-1,0,1,1,1,1,1,1,1,0,-1,0,1]
Roots found:
1.1910 + 0.6054i
1.1910 - 0.6054i
-1.2766 + 0.3311i
-1.2766 - 0.3311i
-0.9114 + 0.8715i
-0.9114 - 0.8715i
-0.2781 + 1.1229i
-0.2781 - 1.1229i
0.4173 + 0.9860i
0.4173 - 0.9860i
0.6739 + 0.3241i
0.6739 - 0.3241i
0.1838 + 0.2115i
0.1838 - 0.2115i
True roots:
1.2051 + 0.5795i
1.2051 - 0.5795i
-0.5464 + 0.8375i
-0.5464 - 0.8375i
-0.9793 + 0.2023i
-0.9793 - 0.2023i
-0.8508 + 0.5254i
-0.8508 - 0.5254i
0.5333 + 0.8459i
0.5333 - 0.8459i
-0.0358 + 0.9994i
-0.0358 - 0.9994i
0.6739 + 0.3241i
0.6739 - 0.3241i
Roots are sorted by magnitude.
Metadata
Metadata
Assignees
Labels
No labels