CartesianToLorentz
CartesianToLorentz[exp]
rewrites Cartesian tensors in form of Lorentz tensors (when possible). Using options one can specify which types of tensors should be converted.
See also
Overview, LorentzToCartesian.
Examples
CGS[p]
% // CartesianToLorentz
γ⋅p
p0γˉ0−γˉ⋅p
CSP[p, q]
% // CartesianToLorentz
p⋅q
p0q0−p⋅q