ellipticAscending function

({double jde, double r}) ellipticAscending(
  1. double axis,
  2. double ecc,
  3. double argP,
  4. double timeP,
)

Time and distance at ascending node for an elliptic orbit.

axis semimajor axis (AU), ecc eccentricity, argP argument of perihelion (radians), timeP time of perihelion (JDE).

Implementation

({double jde, double r}) ellipticAscending(
    double axis, double ecc, double argP, double timeP) {
  return _el(-argP, axis, ecc, timeP);
}