greater#
- rbc.stdlib.elementwise_functions.greater(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(x1, x2): ... return array_api.greater(x1, x2) >>> array_api_greater([4,2],[2,2]).execute() array([ True, False])