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