nutationLon2 static method

double nutationLon2(
  1. double t
)

Implementation

static double nutationLon2(double t) {
  double a = -1.742 * t, t2 = t * t, dl = 0;
  for (int i = 0, j = NUT_B.length; i < j; i += 5) {
    dl += (NUT_B[i + 3] + a) *
        math.sin(NUT_B[i] + NUT_B[i + 1] * t + NUT_B[i + 2] * t2);
    a = 0;
  }
  return dl / 100 / SECOND_PER_RAD;
}