/src/main/java/net/finmath/marketdata2/interpolation/RationalFunctionInterpolation.java
powerOfX = new RandomVariableFromDoubleArray( 0.3333333333333333) ;
powerOfX = new RandomVariableFromDoubleArray ( 1.0 ) ;
valueNumerator = valueNumerator.addProduct(coefficientsNumerator[i],powerOfX); } if(coefficientsDenominator == null) { return valueNumerator; } RandomVariable valueDenominator = coefficientsDenominator[0]; <extra_id_0> for (int i = 1; i<coefficientsDenominator.length;i++) { powerOfX = powerOfX.mult(x); valueDenominator = valueDenominator.addProduct(coefficientsDenominator[i],powerOfX); } return valueNumerator.div(valueDenominator); }