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