10 #ifndef FOPR_WILSON_IMPL_INC_INCLUDED
11 #define FOPR_WILSON_IMPL_INC_INCLUDED
24 std::string imple_Nc() {
return "SU(2)"; }
29 " Gauge group implementation: SU(2).\n");
33 inline double mult_uv_r(
const double *u,
const double *v,
const int Nc)
35 return u[0] * v[0] - u[1] * v[1]
36 + u[2] * v[2] - u[3] * v[3];
40 inline double mult_uv_i(
const double *u,
const double *v,
const int Nc)
42 return u[0] * v[1] + u[1] * v[0]
43 + u[2] * v[3] + u[3] * v[2];
47 inline double mult_udagv_r(
const double *u,
const double *v,
const int Nc)
49 return u[0] * v[0] + u[1] * v[1]
50 + u[4] * v[2] + u[5] * v[3];
54 inline double mult_udagv_i(
const double *u,
const double *v,
const int Nc)
56 return u[0] * v[1] - u[1] * v[0]
57 + u[4] * v[3] - u[5] * v[2];