Optional Arguments. DIM, MASK, SEGMENT,
Description. Computes a segmented MINVAL 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 1 < DIM < n, where n 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
Result Type, Type Parameter, and Shape. Same as ARRAY.
Result Value. Element r of the result has the value
MINVAL((/ a1,...,am /)) where (a1,...,am) is the (possibly empty) set of elements of ARRAY
selected to contribute to by the rules stated in
Example. MINVAL_PREFIX( (/1,2,-3,4,5/), SEGMENT= (/F,F,F,T,T/) ) is [1 1 -3 4 4].