Kronecker delta function
Kronecker delta function determines if two arguments are equal. It is helpful for masking.
$$ \delta(i, j) = \begin{cases} 1 &\text{ if } i = j \cr 0 &\text{ otherwise} \end{cases} $$
Kronecker delta function determines if two arguments are equal. It is helpful for masking.
$$ \delta(i, j) = \begin{cases} 1 &\text{ if } i = j \cr 0 &\text{ otherwise} \end{cases} $$