code: @Override
    public void incrementWithMultiplier(TensorBase other, double multiplier) {
      if (Arrays.equals(other.getDimensionNumbers(), getDimensionNumbers())) {
        simpleIncrement(other, multiplier);
      } else {
        repmatIncrement(other, multiplier);
      }
    }
docs: {@inheritDoc}
  
  This implementation supports increments when {@code other} has a subset of
  {@code this}'s dimensions. In this case, the values in {@code other} are
  implicitly replicated across all dimensions of {@code this} not present in
  {@code other}.