final double resVal = interp.differentiateX1Twice(x0Values, x1Values, yValues, x0Values[1], x1Keys[2]);
final double ref = Math.abs(val) < 0.1 * EPS ? 0.1 : Math.abs(val);
assertEquals(resVal, val, EPS * ref);
}
{
final double val = func.differentiateTwice(method.interpolate(x0Values, OG_ALGEBRA.getTranspose(new DoubleMatrix2D(yValues)).getData()[1]), x0Keys[2]).getData()[0];
final double resVal = interp.differentiateX0Twice(x0Values, x1Values, yValues, x0Keys[2], x1Values[1]);
final double ref = Math.abs(val) < 0.1 * EPS ? 0.1 : Math.abs(val);
assertEquals(resVal, val, EPS * ref);
}