/src/main/java/net/finmath/interpolation/RationalFunctionInterpolation.java
final int numberOfPoints = points;
final int numberOfPoints = points.length;
numeratorPolynomCoeff[3] = (derivative[i] + derivative[i+1] - 2*slope[i]) / (step[i] * step[i]); interpolatingRationalFunctions[i] = new RationalFunction(numeratorPolynomCoeff); } } } private void doCreateRationalFunctionsForHarmonicSplineInterpolation(){ <extra_id_0> final double[] step = new double[numberOfPoints-1]; final double[] slope = new double[numberOfPoints-1]; final double[] doubleStep = new double[numberOfPoints-2]; for(int i = 0; i < numberOfPoints-1; i++){ step[i] = (points[i+1] - points[i]); slope[i] = (values[i+1] - values[i]) / step[i];