/src/main/java/net/finmath/interpolation/RationalFunctionInterpolation.java
double valueDenominator = 0.0; double valueNumerator = 0.0;
double valueNumerator = 0.0; double valueDenominator = 0.0;
} RationalFunction(final double[] coefficients) { this(coefficients, null); } public double getValue(final double x) { <extra_id_0> double powerOfX = 1.0; for (final double polynomialCoefficient : coefficientsNumerator) { valueNumerator += polynomialCoefficient * powerOfX; powerOfX *= x; } if(coefficientsDenominator == null) {