Solving Kepler's equation CORDIC-like

Mathias Zechmeister
8/21/2018
astro-ph.IMastro-ph.EPastro-ph.SR

Official code: mzechmeister/ke (15 stars, HTML, MIT, last commit 2025-08-13).

Abstract

Context. Many algorithms to solve Kepler's equations require the evaluation of trigonometric or root functions.

Show full abstract

Aims. We present an algorithm to compute the eccentric anomaly and even its cosine and sine terms without usage of other transcendental functions at run-time. With slight modifications it is applicable for the hyperbolic case, too. Methods. Based on the idea of CORDIC, it requires only additions and multiplications and a short table. The table is independent of eccentricity and can be hardcoded. Its length depends on the desired precision. Results. The code is short. The convergence is linear for all mean anomalies and eccentricities e (including e = 1). As a stand-alone algorithm, single and double precision is obtained with 29 and 55 iterations, respectively. One half or two third of the iterations can be saved in combination with Newton's or Halley's method at the cost of one division.

View on arXivView PDF

Code Implementations(1)

mzechmeister/keOfficial100%
MIT

solving kepler equation

151HTML, PythonMar 23, 20181 years agoMIT

Similar Papers

Cite this paper

@article{zechmeister2018solving,
  title  = {Solving Kepler's equation CORDIC-like},
  author = {Mathias Zechmeister},
  year   = {2018},
  eprint = {1808.07062},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1808.07062}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1808.07062.svg)](https://codeofpaper.com/paper/1808.07062)

Discussion