S3L_array_op2 applies the operation specified by op to elements of parallel arrays a and b, which must be of the same type and have the same distribution. The parameter op can be one of the following:
S3L_OP_MUL - a equals a .* b
S3L_OP_CMUL - a equals a .* conjg(b)
S3L_OP_DIV - a equals a ./ b
S3L_OP_MINUS - a equals a - b
S3L_OP_PLUS - a equals a + b
The operators ".*" and "./" denote pointwise multiplication and division of the elements in arrays a and b.
S3L_OP_MUL replaces each element in a with the elementwise product of multiplying a and b.
S3L_OP_CMUL performs the same operation as S3L_OP_MUL, except it multiplies each element in a by the conjugate of the corresponding element in b.
S3L_OP_DIV performs elementwise division of a by b, overwriting a with the integer (truncated quotient) results.
S3L_OP_MINUS performs elementwise subtraction of b from a, overwriting a with the differences.
S3L_OP_PLUS performs elementwise addition of a with b, overwriting a with the sum.