Could anyone tell me the simplest way to check if a vector A, includes an element of vector B?
it would be sort of:
for every element in A (
if (none of the elements in B exist in A) do something and B changes
else (do nothing) )
I guess it could be done by with some loops. But is there a function that would make it easier?