docs: public static double[] parseDoubles(String[] doubleStrings) {
      double[] values = new double[doubleStrings.length];
      for (int i = 0; i < doubleStrings.length; i++) {
        values[i] = Double.parseDouble(doubleStrings[i].trim());
      }
      return values;
    }