VEC_MERGEH(ARG1, ARG2)

Purpose

Merges the most significant halves of two vectors.

Class

Elemental function

Argument type and attributes

ARG1
An INTENT(IN) 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

Assume that the elements of each vector are numbered beginning with 0. The even-numbered elements of the result are taken, in order, from the elements in the most significant 8 bytes of ARG1. The odd-numbered elements of the result are taken, in order, from the elements in the most significant 8 bytes of ARG2.