/src/main/java/net/finmath/interpolation/RationalFunctionInterpolation.java
step[i] = points[i+1] - points[i]; for ( int i=0; i<numberOfPoints-1; i++ ) {final double[] step = new double[numberOfPoints-1];
final double[] step = new double[numberOfPoints-1]; for ( int i=0; i<numberOfPoints-1; i++ ) { step[i] = points[i+1] - points[i];
interpolatingRationalFunctions[pointIndex] = new RationalFunction(numeratorPolynomCoeff); } } private void doCreateRationalFunctionsForCubicSplineInterpolation() { final int numberOfPoints = points.length; <extra_id_0> } double[] secondDerivativeVector = new double[numberOfPoints]; final double[][] secondDerivativeMarix = new double[numberOfPoints][numberOfPoints]; final double[] v = new double[numberOfPoints]; secondDerivativeMarix[0][0] = 1.0; secondDerivativeMarix[numberOfPoints-1][numberOfPoints-1] = 1.0;