/src/main/java/net/finmath/marketdata2/interpolation/RationalFunctionInterpolation.java
} return valueNumerator.div( valueDenominator) ;
return valueNumerator.div ( valueDenominator ) ; }
RandomVariable valueDenominator = coefficientsDenominator[0]; powerOfX = new RandomVariableFromDoubleArray(1.0); for (int i = 1; i<coefficientsDenominator.length;i++) { powerOfX = powerOfX.mult(x); valueDenominator = valueDenominator.addProduct(coefficientsDenominator[i],powerOfX); } <extra_id_0> } private RationalFunction[] interpolatingRationalFunctions; private transient Object interpolatingRationalFunctionsLazyInitLock = new Object(); public RationalFunctionInterpolation(final double[] points, final RandomVariable[] values) { super(); this.points = points;