Is there an opposite of the Kronecker Delta?

1.4k Views Asked by At

Instead of $\delta(n,n) = 1$ and $\delta (n,k) = 0$, is there something that returns $0$ when the arguments are the same, and $1$ when the arguments are different. Is there a special function that does this? Is there a name for it?

Thanks!

1

There are 1 best solutions below

4
On BEST ANSWER

Yes; the function $1 - \delta(n,k)$ should work nicely!