Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.5774038722905135
 0.7316393918857097
 0.13783964470271737
 0.7872714584513942

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor with indices SOneTo(4):
 0.028101872980892284 + 0.1761593383619806im
   0.8068396328162547 + 0.7799993167388446im
   0.5616808644447568 + 0.11842057367169612im
  0.19017257431845325 + 0.4856748978295361im
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor with indices SOneTo(4):
  0.5538553166710123 + 0.30317831179853605im
  0.4476900266381644 + 0.09347108056047726im
 0.16940946256784084 + 0.9806281329275272im
 0.19608864691362748 + 0.7867490453882957im
abs * bs
-0.11532271345494399 + 1.3464157997523367im

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix with indices SOneTo(4)×SOneTo(4):
  0.980084+0.594927im   0.665596+0.199502im  …  0.0678503+0.917001im
  0.582122+0.71303im    0.298824+0.277489im      0.456512+0.228257im
 0.0988025+0.849971im   0.210046+0.94741im       0.131117+0.563017im
  0.383484+0.661818im  0.0841618+0.955213im      0.747868+0.945417im
abs * gm * bs
-3.5748249744689273 + 0.8806986291110446im

This page was generated using Literate.jl.