30 for (
int i = 0; i < 18; i++)
168 for (
int i = 0; i < 18; i++)
177 for (
int i = 0; i < 18; i++)
217 std::memcpy(
mat, temp, 144);
224 for (
int i = 0; i < 18; i++)
233 for (
int i = 0; i < 18; i++)
242 for (
int i = 0; i < 18; i++)
251 for (
int i = 0; i < 18; i++)
260 for (
int i = 0; i < 18; i+=2)
270 for (
int i = 0; i < 18; i+=2)
281 for (
int i = 0; i < 18; i+=2)
285 mat[i+1] = temp*z.
z[1] +
mat[i+1]*z.
z[0];
292 for (
int i = 0; i < 18; i++) {
344 for (
int i = 0; i < 9; i++) {
358 for (
int i = 0; i < 9; i++) {
SU3()
Definition: su3.h:25
A complex number class, consisting of t.
Definition: complex.h:16
double normSquared(int i)
Definition: su3.cpp:61
SU3 & operator+=(SU3 B)
Definition: su3.h:166
void setComplex(complex w, int i)
Definition: su3.cpp:74
SU3 conjugate()
Definition: su3.cpp:45
SU3 & operator=(const SU3 &other)
Definition: su3.h:28
complex trace()
Definition: su3.cpp:69
SU3 operator-(SU3 A, SU3 B)
Definition: su3.h:106
double mat[18]
Definition: su3.h:22
void zeros()
Definition: su3.cpp:8
SU3 operator+(SU3 A, SU3 B)
Definition: su3.h:100
class for holding matrices.
Definition: su3.h:18
SU3 operator *(SU3 A, SU3 B)
Definition: su3.h:112
SU3 & operator *=(SU3 B)
Definition: su3.h:184
SU3 inv()
SU3::inv performs a matrix inversion.
Definition: su3.h:306
double norm(int i)
Definition: su3.cpp:53
~SU3()
Definition: su3.h:38
SU3 & operator-=(SU3 B)
Definition: su3.h:175
double & operator[](int i)
Definition: su3.h:41
void print()
Definition: su3.cpp:80
SU3 operator/(SU3 A, double a)
Definition: su3.h:131
complex get(int i, int j)
Definition: su3.h:64
double z[2]
Definition: complex.h:25
SU3 & operator/=(double a)
Definition: su3.h:240
void identity()
Definition: su3.cpp:15
SU3 transpose()
Definition: su3.cpp:26
SU3 makeAntiHermitian()
Definition: su3.h:338
SU3 makeHermitian()
Definition: su3.h:352