I have two vectors
g_counter = [2 0]
and
list = [3 0]
I would get this:
- select all the elements of
g_counterthat have the corrisponding values equals to zero inlistvector.
2 has the corresponding value in list vector not to zero so I will not get it. I will get 0 that have the corresponding value in list vector equals to zero
0
-
getting the index of this element in
g_countervector.2
From what I’ve understood you should do something like that: