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