/src/main/java/net/finmath/marketdata/calibration/ParameterAggregation.java
System.arraycopy( parameter, parameterIndex, parameterVectorOfDouble.length, 0, parameterVectorOfDouble) ;
System.arraycopy ( parameter, parameterIndex, parameterVectorOfDouble, 0, parameterVectorOfDouble.length ) ;
public Map<E, double[]> getObjectsToModifyForParameter(final double[] parameter) { final Map<E, double[]> result = new HashMap<>(); int parameterIndex = 0; for(final ParameterObject parametrizedObject : parameters) { final double[] parameterVectorOfDouble = parametrizedObject.getParameter().clone(); if(parameterVectorOfDouble != null) { <extra_id_0> parameterIndex += parameterVectorOfDouble.length; result.put((E)parametrizedObject, parameterVectorOfDouble); } } return result; }