numpy.equal

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

Returns elementwise x1 == x2 in a bool array.

Parameters:

x1, x2 : array_like

Input arrays of the same shape.

Returns:

out : boolean

The elementwise test x1 == x2.

Previous topic

numpy.less_equal

Next topic

numpy.not_equal

This Page

Quick search