vec_any_out
Purpose
Tests whether the value of any element of a given vector is outside of a given range.
Syntax
d=vec_any_out(a, b)Result and argument types
The following table describes the types of the returned value and the function arguments.
| d | a | b |
|---|---|---|
| int | vector float | vector float |
Result value
The result is 1
if both of the following conditions are satisfied; otherwise, the
result is 0.
- All the elements of
bhave a value greater than or equal to 0. - The absolute value of any element of
ais greater than the value of the corresponding element ofbor less than the negative of the value of the corresponding element ofb.