/src/main/java/net/finmath/marketdata/model/curves/locallinearregression/Partition.java
if ( x< points[i+i]) {
if ( x< points[i+1] ) {
if (x<points[0]) { return 0; } else if (x>=points[points.length-1]) { return points.length; } for(int i=0; i<points.length-2;i++) { <extra_id_0> return i+1; } } return points.length-1; } public double d(final double x){