I have code which loops over a large array, applying a function each time. However, what I’d really like to do is only apply this function to the specific elements which satisfy an auxiliary condition– so each iteration of the loop will act on the same or fewer numbers of elements of the input list.Read more