Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.4030192203678432
 0.00865505535149369
 0.9923065127540105
 0.7386732130889528

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor{Float64} with indices SOneTo(4):
 0.6857728209746018
 0.9888661606277025
 0.8664972270172903
 0.7686480775142646
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor{Float64} with indices SOneTo(4):
 0.18991103234609108
 0.7727495367851581
 0.9848834258695789
 0.10755114192713178
abs * bs
1.830449427881785

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix{Float64} with indices SOneTo(4)×SOneTo(4):
 0.746984  0.26192   0.490984  0.878993
 0.624272  0.147306  0.408519  0.642756
 0.254711  0.163425  0.288454  0.516898
 0.862791  0.306322  0.611188  0.299405
abs * gm * bs
2.600872420176996

This page was generated using Literate.jl.