greater_equal#

rbc.stdlib.elementwise_functions.greater_equal(x1, x2)#

Computes the truth value of x1_i >= x2_i for each element x1_i of the input array x1 with the respective element x2_i of the input array x2.

Examples

>>> from rbc.stdlib import array_api
>>> @heavydb('bool[](int64[], int64[])')
... def array_api_greater_equal(x1, x2):
...     return array_api.greater_equal(x1, x2)
>>> array_api_greater_equal([4, 2, 1], [2, 2, 2]).execute()
array([ True,  True, False])

Array-API ‘greater_equal’ doc