@Override
	public boolean equals(final Object obj) {
		return obj == this ||
			obj instanceof LinearDistribution other &&
			Objects.equals(_domain, other._domain) &&
			Double.compare(_d, other._d) == 0 &&
			Double.compare(_k, other._k) == 0 &&
			Double.compare(_x1, other._x1) == 0 &&
			Double.compare(_x2, other._x2) == 0 &&
			Double.compare(_y1, other._y1) == 0 &&
			Double.compare(_y2, other._y2) == 0;
	}
Return a new PDF object.

<p>
<img
    src="doc-files/linear-pdf.gif"
    alt="f(x) = \left(
                     \frac{y_2-y_1}{x_2-x_1} \cdot x +
                     y_1-\frac{y_2-y_1}{x_2-x_1}\cdot x_1
                \right)"
>
</p>
jenetics.incubator/src/main/java/io/jenetics/incubator/stat/LinearDistribution.java