TensorWrapper

TensorWrapper[expr]
wraps all tensorial terms in expr in the inert head TensorWrapper.
  • TensorWrapper is a special inert head chiefly used for CollectTensors.
  • TensorWrapper threads over lists, sums, and equations.
  • Constant terms in expr are left out of the TensorWrapper head.
  • For consistency reasons, TensorWrapper[constant] gives constant*TensorWrapper[UnitConstant].