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([1, 2], [2, 2])
array([ True, False], dtype=bool)