Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.40383097302764115
 0.06362058997572684
 0.45938313314285073
 0.6077555792694599

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor{Float64} with indices SOneTo(4):
 0.6344000227118745
 0.5944314761087507
 0.8232833497904182
 0.07587889531389391
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor{Float64} with indices SOneTo(4):
 0.4617720222483116
 0.0624358556423813
 0.5533358429775284
 0.3158357166312523
abs * bs
0.8095794708779466

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix{Float64} with indices SOneTo(4)×SOneTo(4):
 0.356851  0.173127  0.609716  0.681135
 0.70352   0.683418  0.223244  0.931133
 0.874078  0.936631  0.384958  0.455064
 0.314526  0.369259  0.568668  0.711698
abs * gm * bs
1.5834926331549575

This page was generated using Literate.jl.