Define VEC_DEF_REAL_REAL¶
Defined in File vector_macros.h
Define Documentation¶
-
VEC_DEF_REAL_REAL(func)¶
Declare/define batch overloads of a scalar
Real func(Real, Real)conversion (e.g. anomaly_conversions.h’sEccToTrueAnomaly,MeanToEccAnomaly, andGetOrbitalPeriod, 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_REALdeclares these (throws on size mismatch in the vector-vs-vector case),VEC_IMP_REAL_REALdefines them.