code: public void product(IntIntVector other) {
          // TODO: Add special case for IntIntDenseVector.
          for (int i=0; i<idxAfterLast; i++) {
              elements[i] *= other.get(i);
          }
      }
docs: Updates this vector to be the entrywise product (i.e. Hadamard product) of this vector with the other.