private static double[] toDoubles(final String[] values) {
		final var result = new double[values.length];
		for (int i = 0; i < result.length; ++i) {
			result[i] = Double.parseDouble(values[i].trim());
		}
		return result;
	}
Parses the given CSV string into a list of {@code double[]} array rows.

@param csv the CSV string to parse
@return the parsed double data
jenetics.ext/src/main/java/io/jenetics/ext/util/CsvSupport.java