Not Equal R←X≠Y

Y may be any array. X may be any array. R is Boolean. R is 0 if X=Y. Otherwise R is 1.

For Boolean X and Y, the value of R is the exclusive or (XOR) result, determined as follows:

             X   Y     R

             0   0     0
             0   1     1
             1   0     1
             1   1     0

⎕CT and ⎕DCT are implicit arguments of Not Equal.

Examples

      1 2 3  1.1 2 3
1 0 0

      ⎕CT1E¯10

      11 1.00000000001 1.0000001
0 0 1

      1 2 3 'CAT'
1 1 1