greater¶
- greater(x1: array, x2: array, /) array¶
Computes the truth value of
x1_i > x2_ifor each elementx1_iof the input arrayx1with the respective elementx2_iof the input arrayx2.- Parameters:
x1 (array) – first input array. Should have a numeric data type.
x2 (array) – second input array. Must be compatible with
x1(see Broadcasting). Should have a numeric data type.
- Returns:
out (array) – an array containing the element-wise results. The returned array must have a data type of
bool.