Returns the indices of the minimum and maximum elements in a range, using an optional comparison predicate defaulting to a < b.
ndslice.
Subslice with minimal (maximal) first element.
Returns the indices of the minimum and maximum elements in a range, using an optional comparison predicate defaulting to a < b.