getSetJ function

num getSetJ(
  1. dynamic h,
  2. dynamic lw,
  3. dynamic phi,
  4. dynamic dec,
  5. dynamic n,
  6. dynamic M,
  7. dynamic L,
)

Implementation

num getSetJ(h, lw, phi, dec, n, M, L) {
  var w = hourAngle(h, phi, dec);
  var a = approxTransit(w, lw, n);

  return solarTransitJ(a, M, L);
}