/src/main/java/net/finmath/marketdata/model/curves/locallinearregression/CurveEstimation.java
final DoubleMatrix partitionAsVector=new DoubleMatrix ( partition.getPoints ( ) ) ; final DoubleMatrix shiftedPartition=new DoubleMatrix ( partition.getLength ( ) ) ;
partition.getPoints(), curvePoints); } private DoubleMatrix solveEquationSystem(){ DoubleMatrix R=new DoubleMatrix(partition.getLength()); final DoubleMatrix M=new DoubleMatrix(partition.getLength(),partition.getLength()); <extra_id_0> for(int j=1; j<shiftedPartition.length;j++) { shiftedPartition.put(j, partition.getPoint(j-1)); } final DoubleMatrix partitionIncrements= partitionAsVector.sub(shiftedPartition).put(0,1); final DoubleMatrix kernelValues=new DoubleMatrix(partition.getLength()-1); DoubleMatrix M1_1= new DoubleMatrix(1);