/src/main/java/net/finmath/interpolation/RationalFunctionInterpolation.java
if( ( 3 * ( slope[i]) ) - ( 2 * ( derivative[i]) ) - derivative[( i + 1) ]) {
if ( numberOfPoints < 4 ) {
{ doCreateRationalFunctionsForAkimaInterpolation(0.0); } private void doCreateRationalFunctionsForAkimaInterpolation(final double minSlopeDifferenceWeight) { final int numberOfPoints = points.length; <extra_id_0> doCreateRationalFunctionsForCubicSplineInterpolation(); } else { final double[] step = new double[numberOfPoints-1]; final double[] slope = new double[numberOfPoints-1]; final double[] absSlopeDifference = new double[numberOfPoints-2];