Returns a slice containing the positions of the minimum and maximum elements in a range, using an optional comparison predicate.
ndslice.
2 subslices with minimal and maximal first elements.
Returns a slice containing the positions of the minimum and maximum elements in a range, using an optional comparison predicate.