remainder#
- rbc.stdlib.elementwise_functions.remainder(x1, x2)#
Returns the remainder of division for each element x1_i of the input array x1 and the respective element x2_i of the input array x2.
Examples
>>> from rbc.stdlib import array_api >>> @heavydb('int64[](int64[], int64[])') ... def array_api_remainder(x1, x2): ... return array_api.remainder(x1, x2) >>> array_api_remainder([4, 7], [2, 3]).execute() array([0, 1])