VEC_MUL(ARG1, ARG2)

Purpose

Returns a vector containing the results of performing a multiply operation using the given vectors.

Note: For integer vectors, this function emulates the operation.

Class

Elemental function

Argument type and attributes

ARG1
An INTENT(IN) integer, unsigned, or real vector
ARG2
An INTENT(IN) vector of the same type as ARG1

Result type and attributes

The result is of the same type as ARG1.

Result value

This function multiplies corresponding elements in the given vectors and then assigns the result to corresponding elements in the result vector.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us