Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.7779821123471651
 0.9901900971203628
 0.016311083676528892
 0.5532764338306148

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor{Float64} with indices SOneTo(4):
 0.17726282355855016
 0.42326781535713176
 0.8368728126783113
 0.1580820237078997
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor{Float64} with indices SOneTo(4):
 0.2955474928505947
 0.6145912964804698
 0.2642585994024327
 0.062153074305091316
abs * bs
0.5435024195993038

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix{Float64} with indices SOneTo(4)×SOneTo(4):
 0.931068  0.978499  0.786725  0.981335
 0.906587  0.542677  0.16416   0.614785
 0.121012  0.536657  0.759505  0.0277629
 0.718267  0.863834  0.870536  0.476965
abs * gm * bs
1.111144218060849

This page was generated using Literate.jl.