Spinors Extras Package Symbol | Tutorials »|See Also »|More About » |
ReplaceLVector[expr, P→Q ] returns expr with Lorentz vector P replaced by Q . |
ReplaceLVector[expr, patt →Q ] returns expr with all Lorentz vectors that match pattern patt replaced by Q . |
ReplaceLVector[expr, patt⧴replacement ] returns expr with all Lorentz vectors that match pattern patt replaced by replacement . patt can have named patterns inside and replacement can use variables matched by those named patterns. |
ReplaceLVector[expr, {P→Q , patt⧴replacement, ...}] returns expr with replacement using all given rules. |
ReplaceLVector[expr, {{P1→Q1, ...}, {P2→Q2, ...}, ...}] returns a List, each element of this list is a result of replacement using subsequent list of rules. |
Occurrences of replaced label that represent object that scales as integer power of four-vector are replaced:
Occurrences of replaced label that scale as non-integer power of four-vector (e.g. spinor which scales as square root) are not replaced:
Labels representing massless objects can be used, but only occurrences representing objects scaling as integer power of four-vector will be replaced:
|