Define an $(n \times m)$ matrix $E_{(i,j)}$ as the matrix which has one element, element $(i,j)$, that is equal to $1$ and the rest equal to $0$. Assume $A$ is an arbitrary matrix of shape $(m \times k)$. I am trying to write the following sum in einstein notation:
$$B = \sum_{i, j}E_{(i, j)} A$$
However I am getting confused. For arbitrary indices $(k, l, m, n)$ I know that element $(m, n)$ of $E_{(k, l)}$ equals $1$ if and only if $k=m$ and $l=n$.
From this I would assume that multiplication by $E_{(k, l)}$ would look something like $\delta^k_m\delta^l_n$ in Einstein notation, where $\delta$ is the kronecker delta.
However, in matrix form the kronecker delta is the identity matrix and $E_{(k, l)}$ is not a product of identity matrices. I am very confused, please could someone provide some intuition on how to represent $E_{(k, l)}$ in relation to einstein notation.
$$A=\begin{bmatrix} 1 & 0 & 0 & 0 \ 0 & 1 & 0 & 0 \end{bmatrix}B$$
where $A$ is $(2 \times 4)$ in size and $B$ is $(4 \times 4)$ in size, then if I were to write it as a tensor it would look like:
$$A^i_k=\delta^i_jB^j_k$$
where $\delta^i_j$ does satisfy the definition of the kronecker delta (as it is $1$ when $i=j$ and $0$ otherwise) but doesnt correspond to the identity matrix.
By the above, it must be true that either $\delta^i_j$ doesn't always correspond to the identity or tensors must be square. Which is true?
– JDoe2 Jan 26 '22 at 18:26