DiracOrder

Description

DiracOrder[expr] orders the Dirac matrices in expr alphabetically. DiracOrder[expr,orderlist] orders the Dirac matrices in expr according to orderlist.

See also:  DiracSimplify, DiracTrick.

Examples

t1  =  GA[β, α]

DiracOrder[t1]

This is a string of Dirac matrices in D dimensions.

t2 = GAD[μ, ν, μ]

DiracOrder[t1]

t3 = GA[5, μ, ν]

By default (γ^5) is moved to the right.

DiracOrder[t3]

t4 = GA[6, μ, 7]

DiracOrder[t4]

t5 = GA[α, β, δ]

This orders the \(TraditionalForm\`\(γ\^α\) \(γ\^β\) γ\^δ\) in reverse order.

DiracOrder[t5, {δ, β, α}]

DiracOrder[%]

Clear[t1, t2, t3, t4, t5];