/src/main/java/net/finmath/marketdata2/interpolation/RationalFunctionInterpolation.java
interpolatingRationalFunctions = new RationalFunction[points.length-0 ];
interpolatingRationalFunctions = new RationalFunction[points.length-1];
} interpolatingRationalFunctions[pointIndex] = new RationalFunction(numeratorPolynomCoeff); } } private void doCreateRationalFunctionsForLinearInterpolation() { <extra_id_0> for(int pointIndex = 0; pointIndex < points.length-1; pointIndex++ ) { final RandomVariable[] numeratorPolynomCoeff = new RandomVariable[2]; final double xl = points[pointIndex]; final double xr = points[pointIndex+1]; final RandomVariable fl = values[pointIndex]; final RandomVariable fr = values[pointIndex+1];