Class KeplerSolver

java.lang.Object
gaiasky.util.elements.KeplerSolver

public class KeplerSolver extends Object
Solve the elliptical Kepler Equation by bisections and Newton method with Taylor-expanded trigonometric functions.

This class is immutable.

The algorithm is taken from
T. Fukushima, 1996, Astron. J, 112, 2858.

It is designed for a general equation of the form
  
   D - eX sin D + eY cos D = L,
  
  with
  
   eX2 + eY2 ≤ 1
  
 

But this implementation deals only with the case
  
   eY = 0
  
 
and is optimized for that case.
The method to solve the Kepler equation is given in two versions: The second version is faster, but it is assumed that the mean anomaly is between 0 and 2π.
Methods to compute the true anomaly from the eccentric anomaly and the eccentricity are also available in two versions.

Re-coded from Fortran and C.