I want to do quick pair-wise matchings of all elements in a numpy array, ignoring self-matching.
For example given a numpy array like