I have a list of logicals test and the list of indices i of the same length. Now I want to select a[i] where test == True. Na
test
i
a[i]
test == True