[Numpy-discussion] short circuit != ?

Neal Becker ndbecker2@gmail....
Wed Oct 27 05:25:26 CDT 2010

Is there a way to get a short circuit != ?

That is, compare 2 arrays but stop as soon as the first element comparison 

I'm assuming that np.all (a != b) will _not_ do this, but will first compare 
all elements.

More information about the NumPy-Discussion mailing list