Open
Description
Would be really handy to have a function that computes and returns both the minimum and maximum of an array. This should be substantially faster than calling min
and then max
on the same array.
FWIW here's an SO question from some time ago that has gotten a fair bit of attention.