public static double sum(final double[] values) {
		return new DoubleAdder().add(values).doubleValue();
	}
Return the sum of the given double array.

@param values the values to sum up.
@return the sum of the given {@code values}.
@throws NullPointerException if the given array is {@code null}.
jenetics/src/main/java/io/jenetics/internal/math/DoubleAdder.java