class VariableValues {

    public static Map<VariableReference, DoubleTensor> add(Map<VariableReference, DoubleTensor> left, Map<VariableReference, DoubleTensor> right) {
        Map<VariableReference, DoubleTensor> result = new HashMap<>();
        for (VariableReference v : left.keySet()) {
            result.put(v, left.get(v).plus(right.get(v)));
        }
        return result;
    }

    private  VariableValues();

}