Optional Arguments. DIM, SEGMENT, EXCLUSIVE
Description. Computes a segmented COUNT scan along dimension DIM of MASK.
Class. Transformational function.
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. The result is of type default integer and of the same shape as MASK.
Result Value. Element of the result has the value COUNT((/ /)) where is the (possibly empty) set of elements of MASK selected to contribute to by the rules stated in Section .
Example. COUNT_PREFIX( (/F,T,T,T,T/), SEGMENT= (/F,F,F,T,T/) ) is ,0,1,2,1,2,, plus 1filll -1;0,1,2,1,2,; plus 1filll -1:0,1,2,1,2,: plus 1filll -1.0,1,2,1,2,. plus 1filll -10,1,2,1,2, plus 1filll-1.