Next: Adjoint, Previous: Constant Arguments, Up: Naming Conventions for Data Parallel Functions
For the general color case SU(N) the specific function requires an extra argument giving the number of colors. It always comes first. Thus in the above example we would write
QDP_FN_V_eq_c_times_V(nc, c, z, b, s);
where nc specifies the number of colors. In normal practice,
the variable nc should be replaced by the required user-defined
macro QDP_Nc specifying the prevailing number of colors. The
generic function is actually a macro and is automatically converted to
this usage with QDP_Nc for the first argument. However, if the
specific name is used, the user must supply the argument.