Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.5734205437686409
 0.6195088648873127
 0.8071479964494371
 0.30989039414578023

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor{Float64} with indices SOneTo(4):
 0.6780749690613282
 0.9754216142469915
 0.39131188652488635
 0.4838468655821141
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor{Float64} with indices SOneTo(4):
 0.6477240877124949
 0.6282742972494986
 0.06319381415059222
 0.38801018672148035
abs * bs
1.2645038232400174

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix{Float64} with indices SOneTo(4)×SOneTo(4):
 0.261969  0.156778  0.321721  0.364343
 0.903337  0.888353  0.900225  0.843477
 0.504527  0.254092  0.713912  0.17081
 0.784286  0.757116  0.139774  0.953794
abs * gm * bs
2.5701544258339726

This page was generated using Literate.jl.