Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.8767742079074382
 0.40046304507625485
 0.895126975983549
 0.4555147564057038

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor{Float64} with indices SOneTo(4):
 0.11574638566193696
 0.5899571600232548
 0.47766700502525317
 0.8350274420289924
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor{Float64} with indices SOneTo(4):
 0.43113235647569303
 0.7770813286904822
 0.6173283608505382
 0.7492857487000045
abs * bs
1.428898257115678

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix{Float64} with indices SOneTo(4)×SOneTo(4):
 0.536534  0.344246   0.198003  0.839265
 0.531454  0.436837   0.360411  0.0510961
 0.270983  0.872577   0.297615  0.112436
 0.133107  0.0387945  0.308131  0.73331
abs * gm * bs
1.9529131036879614

This page was generated using Literate.jl.