[Numpy-discussion] Memory efficient equality test for arrays

Tom Goddard goddard@cgl.ucsf....
Thu Aug 2 00:43:01 CDT 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