MCPcopy Create free account
hub / github.com/numpy/numpy / arr_equal

Method arr_equal

numpy/f2py/tests/test_array_from_pyobj.py:355–358  ·  view source on GitHub ↗
(self, arr1, arr2)

Source from the content-addressed store, hash-verified

353 assert self.has_shared_memory()
354
355 def arr_equal(self, arr1, arr2):
356 if arr1.shape != arr2.shape:
357 return False
358 return (arr1 == arr2).all()
359
360 def __str__(self):
361 return str(self.arr)

Callers 3

__init__Method · 0.95
test_hiddenMethod · 0.80
test_optional_noneMethod · 0.80

Calls 1

allMethod · 0.45

Tested by

no test coverage detected