Next: runprod, Previous: runmin, Up: Internal Routines [Contents][Index]
runord(x, width, ord)
Returns a running ordinal of the first dimension of x
,
for the specified width
and ordinal number
ord
. Ordinal number 0 corresponds to the minimum,
width - 1
corresponds to the maximum, and
widt/2
corresponds to the median. The result has the
same dimensions as x
. Each element of the result is
equal to the maximum of the width
values nearest that
element in the first dimension.
See also: runmin