Elementwise comparison of numpy arrays with different lengths
<p>I want to compare the elements of two 3D numpy arrays of different lengths. The goal is, to find overlapping elements in the two arrays. </p>

<p>All functions I found so far, rely on the two arrays being of the same lengths. </p>

<p>Is there an efficient way to do compare the 2D-elements (for loops will be very inefficient, since each array has tens of thousands of elements)?</p>