Indirect Addressing for Binary Operations with a Constant

When an argument in a binary operation is a constant it is never subscripted by definition. The list of variants is shorter. For example, for multiplication of an SU(N) vector by a constant we have the following.

  function name meaning
1 QLA_V_eq_c_times_V(c,z,b) c = z*b
2 QLA_V_veq_c_times_V(c,z,b,n) c[i] = z*b[i]
3 QLA_V_xeq_c_times_V(c,z,b,j,n) c[j[i]] = z*b[j[i]]
5 QLA_V_eq_c_times_xV(c,z,b,jb,n) c[i] = z*b[jb[i]]
6 QLA_xV_eq_c_times_V(c,jc,z,b,n) c[jc[i]] = z*b[i]
8 QLA_xV_eq_c_times_xV(c,jc,z,b,jb,n) c[jc[i]] = z*b[jb[i]]
12 QLA_V_veq_c_times_pV(c,z,b,n) c[i] = z*(*b[i])
15 QLA_V_xeq_c_times_pV(c,z,b,j,n) c[j[i]] = z*(*b[j[i]])

The scalar variant QLA_V_eq_C_times_V(c,z,b) is also in the library and is equivalent to variant 1 above.



James Osborn 2006-06-25