[ HPF Home | Versions | Compilers | Projects | Publications | Applications | Benchmarks | Events | Contact ]



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

ALL_SUFFIX(MASK, DIM, SEGMENT, EXCLUSIVE)

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



©2000-2006 Rice University [ Contact Us | HiPerSoft | Computer Science ]

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