Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.5108453690445581
 0.6830080368590374
 0.6466253274526816
 0.4502483720974537

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor with indices SOneTo(4):
 0.12948256524077595 + 0.05168006498959654im
  0.9267124244670772 + 0.20138804935005072im
 0.24087808809252975 + 0.04525128860914851im
  0.4970699603942439 + 0.026730582117858614im
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor with indices SOneTo(4):
   0.3430913526371173 + 0.9111062076089939im
   0.5592675693634898 + 0.020564526089549506im
 0.015940920585210683 + 0.06401799821709897im
   0.3943593701080875 + 0.7710509644592399im
abs * bs
0.6878335526830829 + 0.6773401671634445im

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix with indices SOneTo(4)×SOneTo(4):
  0.311391+0.494862im   0.71513+0.698664im  …  0.375546+0.839689im
  0.632843+0.149633im  0.931387+0.215567im     0.208596+0.436792im
 0.0613999+0.119273im  0.398954+0.980528im     0.104798+0.602994im
  0.504491+0.985594im  0.283547+0.447802im     0.810818+0.647038im
abs * gm * bs
-1.3985209226350366 + 2.585399903177067im

This page was generated using Literate.jl.