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