LatticeYangMills
Public Member Functions | Public Attributes | List of all members
SU3 Class Reference

Implementation of a \(SU(3)\) class to perform arithmetics between links. More...

#include <su3.h>

Inheritance diagram for SU3:
Inheritance graph
[legend]
Collaboration diagram for SU3:
Collaboration graph
[legend]

Public Member Functions

 SU3 (double value) noexcept
 
 SU3 (const SU3 &source) noexcept
 
 SU3 (SU3 &&source) noexcept
 
SU3operator= (const SU3 &other) noexcept
 
SU3operator= (SU3 &&other) noexcept
 
SU3operator+= (const SU3 &other) noexcept
 
SU3operator+= (SU3 &&other) noexcept
 
SU3operator-= (const SU3 &other) noexcept
 
SU3operator-= (SU3 &&other) noexcept
 
SU3operator*= (const SU3 &other) noexcept
 
SU3operator*= (SU3 &&other) noexcept
 
SU3operator+= (const double scalar) noexcept
 
SU3operator-= (const double scalar) noexcept
 
SU3operator*= (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
 

Detailed Description

Implementation of a \(SU(3)\) class to perform arithmetics between links.

Author
Giovanni Pederiva
Version
1.0
Date
2017-2018

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.

Definition at line 53 of file su3.h.


The documentation for this class was generated from the following files: