comparisons

Comparisons functions

-> Utility functions expected by the python array API: all and any -> Convenience functions that work in both backends: allclose and isclose -> Convenient composition of two functions: all_equal

Args:

x (Number, LinearSpaceElement): Left-hand operand y (Number, LinearSpaceElement): Right-hand operand

Returns:

x (bool | array-like of bools): Output of the comparison

Notes:
  1. These functions do not return ODL objects