Returns True if input arrays are shape consistent and all elements equal.
Parameters: | a1 : array_like
a2 : array_like
|
---|---|
Returns: | out : bool
|
Examples
>>> np.array_equiv([1,2],[1,2])
>>> True
>>> np.array_equiv([1,2],[1,3])
>>> False
>>> np.array_equiv([1,2], [[1,2],[1,2]])
>>> True
>>> np.array_equiv([1,2], [[1,2],[1,3]])
>>> False