Function vectors_missing (o2scl)¶
-
template<class vec_t, class vec2_t, class vec3_t, class vec4_t>
void o2scl::vectors_missing(const vec_t &v1, const vec2_t &v2, vec3_t &missing1, vec4_t &missing2)¶ Find all elements in
v1
which are not inv2
, and all elements inv2
which are not inv1
.Note
This function counts duplicates as missing if there are less copies in one vector than the other.