The dirac delta function: delta (i,j) returns 1 if i==j, 0 otherwise.
delta(i,j)
i
j
0 or 1
R.E. Benestad