Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.003310679732021704
 0.9376447722689314
 0.9738054522179849
 0.7865415563563906

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor with indices SOneTo(4):
 0.03893026398000943 + 0.47072813999217744im
  0.5610464547703133 + 0.9807286415604614im
  0.7488754614331584 + 0.31231015051347977im
  0.3343870738370016 + 0.17527476346495108im
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor with indices SOneTo(4):
  0.8756857447858708 + 0.09764804159808482im
  0.8603996826405247 + 0.3854075155640553im
  0.2320785266619083 + 0.017804159232881367im
 0.40129236210763053 + 0.14157927845035922im
abs * bs
0.3704781969266015 + 1.67955380014076im

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix with indices SOneTo(4)×SOneTo(4):
  0.97957+0.991222im   0.455445+0.213776im  …  0.755555+0.365582im
 0.791939+0.190308im   0.650657+0.292432im     0.646402+0.477935im
 0.388611+0.0374303im  0.529768+0.68855im       0.90067+0.678179im
 0.798445+0.628531im   0.306776+0.707264im     0.673777+0.568008im
abs * gm * bs
-0.6737702099951193 + 4.179025751333262im

This page was generated using Literate.jl.