Define VEC_DEF_REAL_REAL

Define Documentation

VEC_DEF_REAL_REAL(func)

Declare/define batch overloads of a scalar Real func(Real, Real) conversion (e.g. anomaly_conversions.h’s EccToTrueAnomaly, MeanToEccAnomaly, and GetOrbitalPeriod, which take an anomaly/semi-major-axis plus eccentricity/GM): vector-vs-scalar, scalar-vs-vector, and element-wise vector-vs-vector.

VEC_DEF_REAL_REAL declares these (throws on size mismatch in the vector-vs-vector case), VEC_IMP_REAL_REAL defines them.