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