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