Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.8491080776260748
 0.6178427609336149
 0.9894518374266794
 0.36228541210226706

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor{Float64} with indices SOneTo(4):
 0.6440123168051018
 0.9125115579512173
 0.1046935806694188
 0.23342796405235755
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor{Float64} with indices SOneTo(4):
 0.6209748215932308
 0.11665915044847497
 0.20872446338645656
 0.09059193867837168
abs * bs
0.5493670599073741

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix{Float64} with indices SOneTo(4)×SOneTo(4):
 0.136497   0.556984  0.370453  0.684484
 0.430393   0.12147   0.677483  0.324974
 0.0925147  0.180335  0.835747  0.571903
 0.56024    0.106448  0.294438  0.726707
abs * gm * bs
0.7084484040223156

This page was generated using Literate.jl.