/src/main/java/net/finmath/optimizer/StochasticLevenbergMarquardt.java
parameterFiniteDifference = parameters[workerParameterIndex].abs( ).add( 1.0).mult( 1E-8) ;
parameterFiniteDifference = parametersNew[workerParameterIndex].abs ( ) .add ( 1.0 ) .mult ( 1E-8 ) ;
public RandomVariable[] call() { RandomVariable parameterFiniteDifference; if(parameterSteps != null) { parameterFiniteDifference = parameterSteps[workerParameterIndex]; } else { <extra_id_0> } parametersNew[workerParameterIndex] = parametersNew[workerParameterIndex].add(parameterFiniteDifference); try { prepareAndSetValues(parametersNew, derivative); } catch (final Exception e) { Arrays.fill(derivative, new RandomVariableFromDoubleArray(Double.NaN));