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



Next:
COUNT_PREFIX(MASKDIM, SEGMENT, Up: Specifications of Library Previous: COPY_SCATTER(ARRAYBASE,INDX1, ..., INDXn,

COPY_SUFFIX(ARRAY, DIM, SEGMENT)

Optional Arguments. DIM, SEGMENT
Description. Computes a reverse, segmented copy scan along dimension DIM of ARRAY.
Class. Transformational function.
Arguments.

ARRAY may be of any type. 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 ARRAY.

SEGMENT (optional) must be of type logical and must have the same shape as ARRAY.
Result Type, Type Parameter, and Shape. Same as ARRAY.
Result Value. Element of the result has the value where is the set, in array element order, of elements of ARRAY selected to contribute to by the rules stated in Section .
Example. COPY_SUFFIX( (/1,2,3,4,5/), SEGMENT= (/F,F,F,T,T/) ) is ,3,3,3,5,5,, plus 1filll -1;3,3,3,5,5,; plus 1filll -1:3,3,3,5,5,: plus 1filll -1.3,3,3,5,5,. plus 1filll -13,3,3,5,5, plus 1filll-1.



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

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