code: private static void subtractTernaryValues(Vector destination,
                                                TernaryVector source) {
          for (int p : source.positiveDimensions())
              destination.set(p, destination.getValue(p).doubleValue() - 1);
          for (int n : source.negativeDimensions())
              destination.set(n, destination.getValue(n).doubleValue() + 1);
      }
docs: Adds the values from a {@code TernaryVector} to a {@code Vector}.
  Only the positive and negative indices will be traversed to save time.
  
  @param destination The vector to write new values to.
  @param source The vector to read values from.