code: public static double min(DoubleArrayND array)
      {
          return array.stream().parallel().reduce(
              Double.POSITIVE_INFINITY, Math::min);
      }
docs: Returns the minimum value in the given array, or
  <code>Double.POSITIVE_INFINITY</code> if the given array
  has a size of 0.
  
  @param array The array
  @return The minimum value