Hadamard-Schur product
Hadamard-Schur product (element-wise product) generalises vector dot product to matrices.
Definition
Matrices
For matrices $\mathbf{A}=(a_{ij}), \mathbf{B}=(b_{ij}) \in \mathbb{F}^{m \times n}$
$$ (\mathbf{A} \circ \mathbf{B})_{ij} = a_{ij} b_{ij}. $$
Properties
The Hadamard product is commutative, associative, and distributive:
$$ \begin{cases} \mathbf{A} \circ \mathbf{B} = \mathbf{B} \circ \mathbf{A} \\ (\mathbf{A} \circ \mathbf{B}) \circ \mathbf{C} = \mathbf{A} \circ (\mathbf{B} \circ \mathbf{C}) \\ \mathbf{A} \circ (\mathbf{B} + \mathbf{C}) = \mathbf{A} \circ \mathbf{B} + \mathbf{A} \circ \mathbf{C} \end{cases} $$
Identity element
The identity element for the Hadamard product on $\mathbb{F}^{m \times n}$ is
$$ \mathbf{J}_{m \times n}: \forall i \in \{1,\cdots,m\}, j \in \{1,\cdots,n\}: (\mathbf{J})_{ij} = 1 $$
which verifies
$$ \forall \mathbf{A}_{m \times n}: \mathbf{A} \circ \mathbf{J}_{m \times n} = \mathbf{A}. $$