Next: MINVAL_PREFIX(ARRAYDIM, MASK, Up: Specifications of Library Previous: MAXVAL_SCATTER(ARRAYBASE,INDX1, ..., INDXn,
Optional Arguments. DIM, MASK, SEGMENT, EXCLUSIVE
Description. Computes a reverse, segmented MAXVAL scan along dimension DIM of ARRAY.
Class. Transformational function.
ARRAY must be of type integer or real. 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.
MASK (optional) must be of type logical and must be conformable with ARRAY.
SEGMENT (optional) must be of type logical and must have the same shape as ARRAY.
EXCLUSIVE (optional) must be of type logical and must be scalar.
Result Type, Type Parameter, and Shape. Same as ARRAY.
Result Value. Element of the result has the value MAXVAL((/ /)) where is the (possibly empty) set of elements of ARRAY selected to contribute to by the rules stated in Section .
Example. MAXVAL_SUFFIX( (/3,4,-5,2,5/), SEGMENT= (/F,F,F,T,T/) ) is ,4,4,-5,5,5,, plus 1filll -1;4,4,-5,5,5,; plus 1filll -1:4,4,-5,5,5,: plus 1filll -1.4,4,-5,5,5,. plus 1filll -14,4,-5,5,5, plus 1filll-1.