Define VEC_DEF_REAL¶
Defined in File vector_macros.h
Define Documentation¶
-
VEC_DEF_REAL(func)¶
Declare/define a
VecX func(const VecX& x)overload that applies a scalarReal func(Real)element-wise.VEC_DEF_REALdeclares the overload (used in headers, e.g. time_conversions.h forUtcToUt1,TaiToTt, etc.);VEC_IMP_REALdefines it (used in the corresponding .cc). Lets time/anomaly conversion functions be applied to a whole vector of epochs/angles at once (in an OpenMP-parallel loop), e.g. converting an entire epoch history from UTC to TAI.