Computes the minimum value and returns the corresponding array indices.