@Override
	public Cdf cdf() {
		return x -> {
			double result = 0;
			if (x < _x1) {
				result = 0.0;
			} else if (x > _x2) {
				result = 1.0;
			} else {
				result = _k*x*x/2.0 + _d*x;
			}

			return result;
		};
	}
Return a new CDF object.

<p>
<img
    src="doc-files/linear-cdf.gif"
    alt="f(x)=-\frac{(x^2-2x_2x)y_1 - (x^2 - 2x_1x)y_2}
     {2(x_2 - x_1)}"
>
</p>
jenetics.incubator/src/main/java/io/jenetics/incubator/stat/LinearDistribution.java