/src/main/java/net/finmath/interpolation/RationalFunctionInterpolation.java
final double[] v   = new double[numberOfPoints];final double[] step = new double[numberOfPoints-1];
final double[] step = new double[numberOfPoints-1];
{ final int numberOfPoints = points.length; if(numberOfPoints < 4) { doCreateRationalFunctionsForCubicSplineInterpolation(); } else { <extra_id_0> final double[] slope = new double[numberOfPoints-1]; final double[] absSlopeDifference = 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]; if(i > 0) {