10 #ifndef FOPR_WILSON_IMPL_INC_INCLUDED
11 #define FOPR_WILSON_IMPL_INC_INCLUDED
26 std::string imple_Nc() {
return "SU(3)"; }
31 " Gauge group implementation: SU(3).\n");
35 inline double mult_uv_r(
const double *g,
const double *w,
const int Nc)
37 return g[0] * w[0] - g[1] * w[1]
38 + g[2] * w[2] - g[3] * w[3]
39 + g[4] * w[4] - g[5] * w[5];
43 inline double mult_uv_i(
const double *g,
const double *w,
const int Nc)
45 return g[0] * w[1] + g[1] * w[0]
46 + g[2] * w[3] + g[3] * w[2]
47 + g[4] * w[5] + g[5] * w[4];
51 inline double mult_udagv_r(
const double *g,
const double *w,
const int Nc)
53 return g[0] * w[0] + g[1] * w[1]
54 + g[6] * w[2] + g[7] * w[3]
55 + g[12] * w[4] + g[13] * w[5];
59 inline double mult_udagv_i(
const double *g,
const double *w,
const int Nc)
61 return g[0] * w[1] - g[1] * w[0]
62 + g[6] * w[3] - g[7] * w[2]
63 + g[12] * w[5] - g[13] * w[4];