void write(final DataOutput out) throws IOException {
		writeInt(length(), out);
		writeInt(lengthRange().min(), out);
		writeInt(lengthRange().max(), out);
		out.writeDouble(_min);
		out.writeDouble(_max);

		for (int i = 0, n = length(); i < n; ++i) {
			out.writeDouble(doubleValue(i));
		}
	}
Create a new random {@code DoubleChromosome} of length one.

@since 3.2

@param range the double range of the chromosome.
@return a new random {@code DoubleChromosome} of length one
@throws NullPointerException if the given {@code range} is {@code null}
jenetics/src/main/java/io/jenetics/DoubleChromosome.java