pith. sign in

arxiv: 1203.1034 · v1 · pith:DERMZRN5new · submitted 2012-03-05 · 🌌 astro-ph.EP · cs.MS· cs.NA· math.NA

General Complex Polynomial Root Solver and Its Further Optimization for Binary Microlenses

classification 🌌 astro-ph.EP cs.MScs.NAmath.NA
keywords methodnewtonalgorithmcasesmajoritynumericalpolynomialprotection
0
0 comments X
read the original abstract

We present a new algorithm to solve polynomial equations, and publish its code, which is 1.6-3 times faster than the ZROOTS subroutine that is commercially available from Numerical Recipes, depending on application. The largest improvement, when compared to naive solvers, comes from a fail-safe procedure that permits us to skip the majority of the calculations in the great majority of cases, without risking catastrophic failure in the few cases that these are actually required. Second, we identify a discriminant that enables a rational choice between Laguerre's Method and Newton's Method (or a new intermediate method) on a case-by-case basis. We briefly review the history of root solving and demonstrate that "Newton's Method" was discovered neither by Newton (1671) nor by Raphson (1690), but only by Simpson (1740). Some of the arguments leading to this conclusion were first given by the British historian of science Nick Kollerstrom in 1992, but these do not appear to have penetrated the astronomical community. Finally, we argue that Numerical Recipes should voluntarily surrender its copyright protection for non-profit applications, despite the fact that, in this particular case, such protection was the major stimulant for developing our improved algorithm.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Incorporating physical source parameters into microlensing modeling

    astro-ph.SR 2026-06 unverdicted novelty 6.0

    A new MCMC parametrization using MIST stellar evolution models constrains source parameters in xallarap microlensing, improving Einstein ring radius estimates by up to an order of magnitude on OGLE-2017-BLG-0114 binar...

  2. Constraining Orbital Eccentricity of a Supermassive Black Hole Binary Candidate PKS 2131-0211

    astro-ph.HE 2026-06 unverdicted novelty 4.0

    Bayesian fitting of an eccentric Keplerian orbit to the radio light curve of PKS 2131-021 gives e = 0.053 ± 0.015 without red noise but favors a circular orbit plus DRW noise with e < 0.15.