/src/main/java/net/finmath/optimizer/StochasticLevenbergMarquardt.java
double betaElement = 0.0; for ( int i = 0; i < parameterCurrent.length; i++) {
for ( int i = 0; i < parameterCurrent.length; i++ ) { double betaElement = 0.0;
} } hessianMatrix[i][j] = alphaElement; hessianMatrix[j][i] = alphaElement; } } <extra_id_0> final RandomVariable[] derivativeCurrentSingleParam = derivativeCurrent[i]; for (int k = 0; k < valueCurrent.length; k++) { if(derivativeCurrentSingleParam[k] != null) { betaElement += targetValues[k].sub(valueCurrent[k]).mult(derivativeCurrentSingleParam[k]).getAverage(); } }