Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.2857266141187754
 0.02689744068579647
 0.9373746839932009
 0.823811307184625

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor with indices SOneTo(4):
 0.5246155907905702 + 0.11620254889366488im
 0.7059255103616977 + 0.06284184858553932im
 0.7121529463736449 + 0.07499230411275348im
 0.5474944082216795 + 0.7506604258421108im
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor with indices SOneTo(4):
   0.988362278758827 + 0.9733076491229714im
  0.9639678378768992 + 0.38129744048534464im
 0.34622222305519346 + 0.9471703732976353im
 0.12609817327194472 + 0.12161269303878641im
abs * bs
1.2152183793817843 + 1.8169410467286013im

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix with indices SOneTo(4)×SOneTo(4):
 0.312812+0.716893im  0.244331+0.632115im  …   0.82109+0.414704im
 0.341235+0.672879im    0.4595+0.61079im      0.780905+0.339928im
  0.56864+0.70491im   0.398674+0.846837im     0.989487+0.305098im
   0.3013+0.580625im  0.396067+0.416834im     0.393647+0.452235im
abs * gm * bs
-2.6403235358016652 + 6.566716687665034im

This page was generated using Literate.jl.