VEC_ANY_LE(ARG1, ARG2)

Purpose

Tests whether any element of the first argument is less than or equal to the corresponding element of the second argument.

Class

Elemental function

Argument type and attributes

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

Result type and attributes

The result is an INTEGER(4).

Result value

The result is 1 if any element of ARG1 is less than or equal to the corresponding element of ARG2. Otherwise, the result is 0.