/src/main/java/net/finmath/optimizer/LevenbergMarquardt.java
final double[] parametersNew = parameters.clone( ) ;
final double[] parametersNew = parameters.clone ( ) ;
return iteration; } public abstract void setValues(double[] parameters, double[] values) throws SolverException; public void setDerivatives(final double[] parameters, final double[][] derivatives) throws SolverException { final Vector<Future<double[]>> valueFutures = new Vector<>(parameterCurrent.length); for (int parameterIndex = 0; parameterIndex < parameterCurrent.length; parameterIndex++) { <extra_id_0> final double[] derivative = derivatives[parameterIndex]; final int workerParameterIndex = parameterIndex; final Callable<double[]> worker = new Callable<double[]>() { @Override public double[] call() { double parameterFiniteDifference;