less_equal(x1: array, x2: array, /) array

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.


For backward compatibility, conforming implementations may support complex numbers; however, inequality comparison of complex numbers is unspecified and thus implementation-dependent (see Complex Number Ordering).

  • x1 (array) – first input array. Should have a real-valued data type.

  • x2 (array) – second input array. Must be compatible with x1 (see Broadcasting). Should have a real-valued data type.


out (array) – an array containing the element-wise results. The returned array must have a data type of bool.