Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.9102492460693892
 0.016436630881740855
 0.2071666057989191
 0.8454845059351634

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor{Float64} with indices SOneTo(4):
 0.4364921250579902
 0.3732532543983289
 0.7765267125583761
 0.23342039626682753
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor{Float64} with indices SOneTo(4):
 0.4197638905115332
 0.24032897690811017
 0.6369459343284877
 0.4804322229003438
abs * bs
0.8796754176594366

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix{Float64} with indices SOneTo(4)×SOneTo(4):
 0.255003  0.654738  0.31827   0.320562
 0.435471  0.825898  0.308148  0.228479
 0.10177   0.50479   0.287643  0.0458366
 0.448331  0.70114   0.709745  0.939178
abs * gm * bs
1.3617918304434766

This page was generated using Literate.jl.