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

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

For vectors, (ab)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 babb\mapsto a\odot b is multiplication by the diagonal matrix with entries aia_i. Thus differentiating coordinatewise squares gives D(yyy)y[h]=2yhD(y\mapsto y\odot y)_y[h]=2y\odot h over the real or complex numbers.

References