LatticeYangMills
|
Implementation of a \(SU(3)\) class to perform arithmetics between links. More...
#include <su3.h>
Public Member Functions | |
SU3 (double value) noexcept | |
SU3 (const SU3 &source) noexcept | |
SU3 (SU3 &&source) noexcept | |
SU3 & | operator= (const SU3 &other) noexcept |
SU3 & | operator= (SU3 &&other) noexcept |
SU3 & | operator+= (const SU3 &other) noexcept |
SU3 & | operator+= (SU3 &&other) noexcept |
SU3 & | operator-= (const SU3 &other) noexcept |
SU3 & | operator-= (SU3 &&other) noexcept |
SU3 & | operator*= (const SU3 &other) noexcept |
SU3 & | operator*= (SU3 &&other) noexcept |
SU3 & | operator+= (const double scalar) noexcept |
SU3 & | operator-= (const double scalar) noexcept |
SU3 & | operator*= (const double scalar) noexcept |
void | setSU3Identity () |
void | setSU3Zero () |
void | setSU3Random () |
double | realTrace () |
double | imagTrace () |
SU3 | exp () |
void | printSU3 () |
Public Attributes | |
std::array< double, 18 > | mat |
Implementation of a \(SU(3)\) class to perform arithmetics between links.
The SU3 class provides basic functions between elements of the \(SU(3)\) group. Complex double element are the default choice. Arithmetic operations between elements and with scalars are provided. Exponentiation is also built in.