Up: Function Details


5.5 Binary operations with constants

Multiplication by integer constant

Syntax QDP_I_eqop_i_times_I(QDP_Int *r, QLA_Int *a, QDP_Int *b, subset);


Meaning r eqop a * b


eqop eq, peq, meq, eqm

Multiplication by real constant

Syntax QDP_T_eqop_r_times_T(Type *r, QLA_Real *a, Type *b, subset);
QDP_T_veqop_r_times_T(Type *r[], QLA_Real a[], Type *b[], subset, int n);


Meaning r eqop a * b


Type R, C, V, H, D, M, P


eqop eq, peq, meq, eqm

Multiplication by complex constant

Syntax QDP_T_eqop_c_times_T(Type *r, QLA_Complex *a, Type *b, subset);
QDP_T_veqop_c_times_T(Type *r[], QLA_Complex a[], Type *b[], subset, int n);


Meaning r eqop a * b


Type C, V, H, D, M, P


eqop eq, peq, meq, eqm

Multiplication by i

Syntax QDP_T_eqop_i_T(Type *r, Type *a, subset);


Meaning r eqop i a


Type C, V, H, D, M, P


eqop eq, peq, meq, eqm

Left multiplication by gamma matrix

Syntax QDP_T_eq_gamma_times_T(Type *r, Type *a, int i, subset);


Meaning r = gamma(i) * a


Type D, P

Right multiplication by gamma matrix

Syntax QDP_P_eq_P_times_gamma(QDP_DiracPropagator *r, QDP_DiracPropagator *a, int i, subset);


Meaning r = a * gamma(i)