Function vectors_missing (o2scl)

O2scl : Function List

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 in v2, and all elements in v2 which are not in v1.

Note

This function counts duplicates as missing if there are less copies in one vector than the other.