Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.2929627583165887
 0.1585641381168641
 0.6586223339467682
 0.3979148584609056

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor{Float64} with indices SOneTo(4):
 0.057940467304381404
 0.9524634153380901
 0.2846612318021058
 0.4111894632848264
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor{Float64} with indices SOneTo(4):
 0.7209896299720855
 0.26608925828145824
 0.28196110352947645
 0.3783065752978698
abs * bs
0.5310338325145663

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix{Float64} with indices SOneTo(4)×SOneTo(4):
 0.851657  0.0738849  0.401284  0.24691
 0.277317  0.554219   0.422351  0.63062
 0.282499  0.903948   0.869354  0.384228
 0.815812  0.429414   0.741484  0.120171
abs * gm * bs
1.1204546698978797

This page was generated using Literate.jl.