public static Function<double[], int[]>
	doubleToIntArray(final DoubleToIntFunction mapper) {
		requireNonNull(mapper);
		return array -> doubleToIntArray(array, mapper);
	}
Return an array mapper function which applies the given {@code mapper} to
every array element.
{@snippet lang = java:
final Codec<int[], DoubleGene> codec = Codecs
    .ofVector(DoubleRange.of(0, 100), 100)
    .map(Conversions.doubleToIntArray(v -> (int)Math.round(v)));
}

@param mapper the array element mapper
@return an array mapper function
jenetics/src/main/java/io/jenetics/util/Conversions.java