This is documentation for an old release of NumPy (version 1.6.0). Read this page in the documentation of the latest stable release (version > 1.17).
Return the truth value of (x1 =< x2) element-wise.
Parameters : | x1, x2 : array_like
|
---|---|
Returns : | out : bool or ndarray of bool
|
See also
Examples
>>> np.less_equal([4, 2, 1], [2, 2, 2])
array([False, True, True], dtype=bool)