Compute minimum and maximum
Function to compute minimum and maximum of the input vector
compute_min_max(x)
x
Returns a vector of length 2. The first element is min value, and the second element is max value.
Useful links