cupynumeric.array_equal#
- cupynumeric.array_equal( ) bool | ndarray #
True if two arrays have the same shape and elements, False otherwise.
- Parameters:
a1 (array_like) – Input arrays.
a2 (array_like) – Input arrays.
equal_nan (bool) – Whether to compare NaN’s as equal. If the dtype of a1 and a2 is complex, values will be considered equal if either the real or the imaginary component of a given value is
nan
.
- Returns:
b – Returns True if the arrays are equal.
- Return type:
ndarray scalar
See also
- Availability:
Multiple GPUs, Multiple CPUs