Last active
April 29, 2020 03:02
-
-
Save kvedala/9713842d5e264c94e293a930b479f597 to your computer and use it in GitHub Desktop.
Durand-Kerner Roots - Python
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Performance improvement
Performing
i.e., by ensuing the coefficient of the highest power of
x
to be1
significantly improves the numerical stability.For example, the above algorithm fails for:
but the problem gets resolved when executing as such: