SetTemporalComponent[p, val]
sets the value of the
temporal component of a 4-vector p,
TemporalPair[ExplicitLorentzIndex[0],TemporalMomentum[p]]
to val
.
Overview, TC, TemporalPair, TemporalMomentum.
[]
FCClearScalarProducts
ClearAll[t]
[p, t]
SetTemporalComponent
[p] TC
t
[p + q] // ExpandScalarProduct TC
q^0+t
[p, q] // LorentzToCartesian SP
q^0 t-\overline{p}\cdot \overline{q}