kronecker(x, y) is the Kronecker δ function, i.e. kronecker(x, y) = 1 if x = y, and kronecker(x, y) = 0 if x ≠ y.