next up previous contents
Next: COPY_PREFIX(ARRAYDIM, SEGMENT) Up: Specifications of Library Procedures Previous: ANY_SUFFIX(MASKDIM, SEGMENT, EXCLUSIVE)

ANY_SUFFIX(MASK, DIM, SEGMENT, EXCLUSIVE)

Optional Arguments. DIM, SEGMENT, EXCLUSIVE

Description. Computes a reverse, segmented logical OR scan along dimension DIM of MASK.

Class. Transformational function.

Arguments.

MASK must be of type logical. It must not be scalar.

DIM (optional) must be scalar and of type integer with a value in the range , where is the rank of MASK.

SEGMENT (optional) must be of type logical and must have the same shape as MASK.

EXCLUSIVE (optional) must be of type logical and must be scalar.

Result Type, Type Parameter, and Shape. Same as MASK.

Result Value. Element of the result has the value ANY((/ /)) where is the (possibly empty) set of elements of MASK selected to contribute to by the rules stated in Section 7.4.5.

Example. ANY_SUFFIX( (/F,T,F,F,F/), SEGMENT= (/F,F,F,T,T/) ) is [T T F F F].