On exit, the value of
val [
]
is the minimum value of
src [
]
for which
over the allowed values of . The value of
pos [
]
is the smallest value at which this minimum occurs.
As implied by the replicated alignment of the result arrays, the results are broadcast in the process dimension associated with dimension dim of the source array.