I need to find the index of all instances where the values in one array (A, say) is larger than the corresponding values in another array (B, say, with B having the same length as A).
What is the best practice way to solve that problem in Julia?
I need to find the index of all instances where the values in one array (A, say) is larger than the corresponding values in another array (B, say, with B having the same length as A).
What is the best practice way to solve that problem in Julia?
findall(A .> B)
Thank you. Very succinct.