I have, in Java, a double[] foo
.
Is there a library function for pulling out the minimum value in this array? I know I can build one, but that's not a good practice if a library function is available. There's nothing in java.util.Arrays
.
(In C++ we have std::min_element
etc. and even a new function in C++11 to get the minimum and maximum out at the same time!)