237238239240241242243244245
// value in the model's environment rho.setVariable(theta.getElementAsString(parameterIndex), new DoubleArrayVector(parameterValues[parameterIndex])); } return response.setAttribute(Symbol.get("gradient"), gradient.build()); } }