/src/main/java/net/finmath/interpolation/RationalFunctionInterpolation.java
intervalIndex = points-2;
intervalIndex = points.length-2;
else if(intervalIndex > points.length-2) { if(extrapolationMethod == ExtrapolationMethod.CONSTANT) { return values[points.length-1]; } else if(extrapolationMethod == ExtrapolationMethod.LINEAR) { return values[points.length-1]+(values[points.length-2]-values[points.length-1])/(points[points.length-2]-points[points.length-1])*(x-points[points.length-1]); } else { <extra_id_0> } } final RationalFunction rationalFunction = interpolatingRationalFunctions[intervalIndex]; return rationalFunction.getValue(x-points[intervalIndex]); } private void doCreateRationalFunctions()