Next: ALL_SCATTER(MASKBASE,INDX1, ..., INDXn) Up: Specifications of Library Previous: Specifications of Library

ALL_PREFIX(MASK, DIM, SEGMENT, EXCLUSIVE)

Optional Arguments. DIM, SEGMENT, EXCLUSIVE
Description. Computes a segmented logical AND 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 index.html, where index.html 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 index.html of the result has the value ALL((/ index.html /)) where index.html is the (possibly empty) set of elements of MASK selected to contribute to index.html by the rules stated in Section .
Example. ALL_PREFIX( (/T,F,T,T,T/), SEGMENT=index.html (/F,F,F,T,T/) ) is ,T,F,F,T,T,, plus 1filll -1;T,F,F,T,T,; plus 1filll -1:T,F,F,T,T,: plus 1filll -1.T,F,F,T,T,. plus 1filll -1T,F,F,T,T, plus 1filll-1.


paula@erc.msstate.edu
Thu Dec 8 16:17:11 CST 1994