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