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