MCPcopy
hub / github.com/numpy/numpy / compare

Function compare

numpy/ma/testutils.py:241–242  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

239
240 """
241 def compare(x, y):
242 return (not np.all(approx(x, y)))
243 assert_array_compare(compare, x, y, err_msg=err_msg, verbose=verbose,
244 header='Arrays are not equal')
245

Callers 1

_comparisonMethod · 0.70

Calls 3

approxFunction · 0.85
almostFunction · 0.85
allMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…