PiecewisePolynomialInterpolator interpPos = new MonotonicityPreservingQuinticSplineInterpolator(interp);
PiecewisePolynomialResult resultPos = interpPos.interpolate(xValues, yValues);
for (int i = 0; i < 71; ++i) {
final double key = 1. + 7. / (71 - 1) * i;
System.out.println(key + "\t" + function.evaluate(result, key).getData()[0] + "\t" + function.evaluate(resultPos, key).getData()[0]);
}
System.out.println("\n");
for (int i = 0; i < 701; ++i) {