|
GLAC
1.0
|
class for holding \(\mathrm{SU}(3)\) matrices. More...
#include <su3.h>
Public Member Functions | |
| SU3 () | |
| SU3 & | operator= (const SU3 &other) |
| ~SU3 () | |
| double & | operator[] (int i) |
| SU3 & | operator= (const double &other) |
| SU3 & | operator+= (SU3 B) |
| SU3 & | operator-= (SU3 B) |
| SU3 & | operator *= (SU3 B) |
| SU3 & | operator+= (complex z) |
| SU3 & | operator-= (complex z) |
| SU3 & | operator *= (complex z) |
| SU3 & | operator+= (double a) |
| SU3 & | operator-= (double a) |
| SU3 & | operator/= (double a) |
| SU3 & | operator *= (double a) |
| void | print () |
| complex | get (int i, int j) |
| complex | trace () |
| SU3 | makeHermitian () |
| SU3 | makeAntiHermitian () |
| SU3 | inv () |
| SU3::inv performs a matrix inversion. More... | |
| void | zeros () |
| void | identity () |
| SU3 | transpose () |
| SU3 | conjugate () |
| void | setComplex (complex w, int i) |
| double | norm (int i) |
| double | normSquared (int i) |
Data Fields | |
| double | mat [18] |
class for holding \(\mathrm{SU}(3)\) matrices.
Operations have been overloaded for ease of use.
|
inline |
|
inline |
| SU3 SU3::conjugate | ( | ) |
|
inline |
| void SU3::identity | ( | ) |
|
inline |
SU3::inv performs a matrix inversion.
|
inline |
|
inline |
| double SU3::norm | ( | int | i | ) |
| double SU3::normSquared | ( | int | i | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void SU3::print | ( | ) |
| void SU3::setComplex | ( | complex | w, |
| int | i | ||
| ) |
| complex SU3::trace | ( | ) |
| SU3 SU3::transpose | ( | ) |
| void SU3::zeros | ( | ) |
| double SU3::mat[18] |
1.8.15