public static int[] doubleToIntArray(final double[] array) {
		return doubleToIntArray(array, l -> (int)l);
	}
Converts the given {@code long[]} {@code array} to a {@code double[]} array.
The {@code int[]} is filled with the {@code double} values cast to
{@code int} values.

@param array the array to convert
@return the converted array
jenetics/src/main/java/io/jenetics/util/Conversions.java