Return the truth value of (x1 >= x2) element-wise.
LAX-backend implementation of
greater_equal(). Original docstring below.
greater_equal(x1, x2, /, out=None, *, where=True, casting=’same_kind’, order=’K’, dtype=None, subok=True[, signature, extobj])
x2 (x1,) – Input arrays. If
x1.shape != x2.shape, they must be broadcastable to a common shape (which becomes the shape of the output).
out – Output array, element-wise comparison of x1 and x2. Typically of type bool, unless
dtype=objectis passed. This is a scalar if both x1 and x2 are scalars.
- Return type
bool or ndarray of bool
>>> np.greater_equal([4, 2, 1], [2, 2, 2]) array([ True, True, False])