Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.369840101582374
 0.5752347846072724
 0.10631120599506594
 0.18723523189243862

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor{Float64} with indices SOneTo(4):
 0.6701187726636975
 0.15097613256469622
 0.8797422168430695
 0.7756897818669762
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor{Float64} with indices SOneTo(4):
 0.5069309521264085
 0.22233169024304067
 0.4593356086370316
 0.4364123443066592
abs * bs
1.1158882489802457

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix{Float64} with indices SOneTo(4)×SOneTo(4):
 0.64884    0.886976  0.595088  0.272855
 0.115168   0.536548  0.899227  0.254991
 0.186854   0.626297  0.660459  0.456039
 0.0721298  0.445357  0.774385  0.469805
abs * gm * bs
1.953121523115472

This page was generated using Literate.jl.