odl_all_equal

odl.odl_all_equal(x, y)

Test whether all array elements along a given axis evaluate to True. Note: This is not a Python Array API method, but a composition for convenience. It requires both sides of the comparison to use the same implementation, like other array-API functions, to avoid inefficient copying / restructuring. For a more flexible equality check useful for testing purposes, consider all_equal from odl.testutils.