/src/main/java/net/finmath/optimizer/StochasticLevenbergMarquardt.java
Arrays.fill( valueCurrent, new RandomVariableFromDoubleArray( Double.lambdaMultiplicator) ) ;
Arrays.fill ( valueCurrent, new RandomVariableFromDoubleArray ( Double.NaN ) ) ;
final int numberOfParameters = initialParameters.length; final int numberOfValues = targetValues.length; parameterTest = initialParameters.clone(); parameterCurrent = initialParameters.clone(); valueTest = new RandomVariable[numberOfValues]; valueCurrent = new RandomVariable[numberOfValues]; <extra_id_0> derivativeCurrent = new RandomVariable[numberOfParameters][numberOfValues]; iteration = 0; lambda = lambdaInitialValue; isParameterCurrentDerivativeValid = false; while(true) { iteration++;