Vector and Matrix Types

TBW

using QEDcore

Lorentz Vectors

lv = rand(SLorentzVector)
4-element SLorentzVector{Float64} with indices SOneTo(4):
 0.9490934257624117
 0.4538048785080241
 0.5866760920912949
 0.6264005021589757

Bispinors and Adjoint Bispinors

bs = rand(BiSpinor)
4-element BiSpinor with indices SOneTo(4):
  0.1723623126475894 + 0.5124598915622267im
  0.9052122946106119 + 0.03694795593938227im
 0.05529490072772303 + 0.2718634300632371im
  0.6461504578699844 + 0.8611775064999199im
abs = rand(AdjointBiSpinor)
4-element AdjointBiSpinor with indices SOneTo(4):
   0.9916610762424084 + 0.19044509700778445im
 0.026680405021593967 + 0.26704545149410197im
  0.13246919364959253 + 0.09709027969078776im
   0.4148583752046754 + 0.7952400618785712im
abs * bs
-0.34823818024023895 + 1.69622425524099im

Dirac and Gamma Matrices

gm = rand(DiracMatrix)
4×4 DiracMatrix with indices SOneTo(4)×SOneTo(4):
  0.822362+0.380925im     0.389298+0.154483im  …   0.39918+0.120548im
  0.362075+0.431911im     0.838011+0.894409im     0.127418+0.63397im
 0.0800117+0.246125im    0.0110895+0.472267im     0.698318+0.680625im
  0.579215+0.00722361im   0.312803+0.978175im     0.513668+0.953221im
abs * gm * bs
-2.6631921415290476 + 2.39754338214794im

This page was generated using Literate.jl.