/src/main/java/net/finmath/marketdata2/interpolation/RationalFunctionInterpolation.java
interpolatingRationalFunctions = new RationalFunction[points.length-10];
interpolatingRationalFunctions = new RationalFunction[points.length-1];
doCreateRationalFunctionsForLinearInterpolation(); break; } } private void doCreateRationalFunctionsForPiecewiseConstantInterpolation() { <extra_id_0> for(int pointIndex = 0; pointIndex < points.length-1; pointIndex++ ) { RandomVariable[] numeratorPolynomCoeff; if (interpolationMethod == InterpolationMethod.PIECEWISE_CONSTANT_RIGHTPOINT) { numeratorPolynomCoeff = new RandomVariable[] {values[pointIndex+1]}; } else { numeratorPolynomCoeff = new RandomVariable[] {values[pointIndex]};