eq
Compares if each element in the array is equal to another array.
Return
the computed array, where 1.0 is true and 0.0 is false
Parameters
other
the other array, must have the same shape as this array
Compares if each element in the array is equal to a scalar.
Return
the computed array, where 1.0 is true and 0.0 is false
Parameters
other
the scalar