numpy.greater_equal

numpy.greater_equal(x1, x2[, out])

Element-wise True if first array is greater or equal than second array.

Parameters:

x1, x2 : array_like

Input arrays.

Returns:

out : ndarray, bool

Output array.

Examples

>>> np.greater_equal([4,2],[2,2])
array([ True, True], dtype=bool)

Previous topic

numpy.greater

Next topic

numpy.less

This Page

Quick search