Returns (x1 <= x2) element-wise.
x1, x2 : array_like
Input arrays.
Out : {ndarray, bool}
Output array of bools, or a single bool if x1 and x2 are scalars.
See also
less
Examples
>>> np.less_equal([1,2,3],[2,2,2]) array([ True, True, False], dtype=bool)
numpy.less
numpy.equal