mp_units::quantity_tensor_order

The tensor order axis of a quantity's character

Synopsis

Declared in <mp-units/framework/quantity_character.h>

enum class quantity_tensor_order : int8_t;

Description

A quantity's character splits into two orthogonal axes: its tensor order (scalar, vector, tensor) and its numeric field (real, complex). The enumerators are declared in increasing rank so that the underlying comparison orders them (scalar < vector < tensor, real < complex).

Members

NameDescription
scalar A quantity with magnitude but no direction.
vector A quantity with both magnitude and direction.
tensor A quantity that additionally carries orientation (e.g. the Cauchy stress tensor).