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