This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).

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