[Numpy-discussion] Memory efficient equality test for arrays

Tom Goddard goddard at cgl.ucsf.edu
Thu Aug 2 01:43:01 EDT 2007


Is there a numpy call to test if two large arrays (say 1 Gbyte each) are 
equal (same shape and elements) without creating another large array of 
booleans as happens with "a == b", numpy.equal(a,b), or 
numpy.array_equal(a,b)?

I want a memory efficient and fast comparison.

    Tom




More information about the NumPy-Discussion mailing list