CAAKepler_Calculate: CAAKepler_Calculate

Description Usage Arguments Value Author(s) References Examples

View source: R/CAAKepler_Calculate.R

Description

CAAKepler_Calculate

Usage

1
CAAKepler_Calculate(M, e, nIterations)

Arguments

M

M The mean anomaly in degrees.

e

e The eccentricity of the orbit

nIterations

nIterations The method uses the third method to solve the equation. This uses a binary chop to find the solution. The default value of 53 is the number of iterations required to obtain the accuracy of the standard Visual C "double".

Value

The Eccentric anomaly in degrees (i.e. the solution to Kepler's equation).

Author(s)

C++ code by PJ Naughter, imported to R by Jinlong Zhang

References

Meeus, J. H. (1991). Astronomical algorithms. Willmann-Bell, Incorporated.

Examples

1
CAAKepler_Calculate(M = 120, e  = 0.22, nIterations = 40)

helixcn/skycalc documentation built on March 31, 2021, 5:45 a.m.