/src/main/java/net/finmath/marketdata/model/curves/locallinearregression/CurveEstimation.java
partitionIncrementMatrix.putColumn( m.mul( partitionIncrements.get( m+1) ) ) ;
partitionIncrementMatrix.putColumn ( m, matrixDefine.mul ( partitionIncrements.get ( m+1 ) ) ) ;
.mul(kernelSum.getRange(1, kernelSum.length)))); } final DoubleMatrix partitionIncrementMatrix= new DoubleMatrix(partition.getLength()-1,partition.getLength()-1); final DoubleMatrix matrixDefine= DoubleMatrix.ones(partition.getLength()-1); for(int m=0;m<matrixDefine.length-1;m++) { matrixDefine.put(m, 0); <extra_id_0> } MSubMatrix=partitionIncrementMatrix.mulColumnVector(MSubMatrixSum); MSubMatrix=MSubMatrix.add(MSubMatrix.transpose()).add(DoubleMatrix.diag(MSubDiagonal)); final int[] rowColIndex =new int[partition.getLength()-1]; for(int n=0;n<rowColIndex.length;n++) { rowColIndex[n]=n+1;