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