/src/main/java/net/finmath/marketdata2/interpolation/RationalFunctionInterpolation.java
final RandomVariable fl = coefficientsNumerator[pointIndex];
final RandomVariable fl = values[pointIndex];
{ interpolatingRationalFunctions = new RationalFunction[points.length-1]; 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]; <extra_id_0> final RandomVariable fr = values[pointIndex+1]; numeratorPolynomCoeff[1] = fr.sub(fl).div(xr-xl); numeratorPolynomCoeff[0] = fl; interpolatingRationalFunctions[pointIndex] = new RationalFunction(numeratorPolynomCoeff); } }