原文:https://docs.scipy.org/doc/numpy/reference/generated/numpy.less_equal.html
校对:(虚位以待)
numpy.
less_equal
(x1, x2[, out]) = <ufunc 'less_equal'>返回(x1 =)的真值
参数: | x1,x2:array_like
|
---|---|
返回: | out:bool或ndarray的bool
|
也可以看看
例子
>>> np.less_equal([4, 2, 1], [2, 2, 2])
array([False, True, True], dtype=bool)