Define KARANA_FOR_EACH_VAR_QUANTITY

Define KARANA_FOR_EACH_VAR_QUANTITY#

Define Documentation#

KARANA_FOR_EACH_VAR_QUANTITY(APPLY, TYPE)#

Apply a macro to one magnitude type with every native quantity tag.

Keep the tags aligned with Math::Quantity in Math/Defs.h. Include none so quantity-capable types also have their ordinary numeric specialization.

Parameters:
  • APPLY – Macro accepting a value type and quantity and emitting a complete declaration or definition

  • TYPE – Floating-point scalar, vector or matrix type accepted by Var.