For two A,BA,B of the same shape, the Hadamard product is their entrywise product

(A⊙B)ij=AijBij.(A\odot B)_{ij}=A_{ij}B_{ij}.

For vectors, (a⊙b)i=aibi(a\odot b)_i=a_i b_i. This is a different operation from ordinary matrix multiplication, which sums over an intermediate index.

Coordinate dependence

Entrywise multiplication uses the chosen coordinates. For a fixed vector aa, the map b↦a⊙bb\mapsto a\odot b is multiplication by the diagonal matrix with entries aia_i. Thus differentiating coordinatewise squares gives D(y↦y⊙y)y[h]=2y⊙hD(y\mapsto y\odot y)_y[h]=2y\odot h over the real or complex numbers.

References