Hadamard Product

Hadamard product (matrices)

<!-- /firstHeading --><!-- bodyContent -->

<!-- /jumpto --><!-- bodycontent -->

In mathematics, the Hadamard product is a binary operation that takes two matrices of the same dimensions, and produces another matrix where each element ij is the product of elements ij of the original two matrices. It should not be confused with the more common matrix product.

The Hadamard product is associative and distributive, and unlike the matrix product it is also commutative. The Hadamard product is named after French mathematician Jacques Hadamard), and is also known as the entrywise product and the Schur product.[1]

Definition 

Formally, for two matrices of the same dimensions

the Hadamard product A ○ B is a matrix of the same dimensions

with elements given by

The Hadamard product is commutative, associative and distributive over addition. That is,

The identity matrix under Hadamard multiplication of two m-by-n matrices is m-by-n matrix where all elements are equal to 1. This is different from the identity matrix under regular matrix multiplication, where only the elements of the main diagonal are equal to 1. Furthermore, a matrix has an inverse under Hadamard multiplication if and only if none of the elements are equal to zero.[2]

For vectors x and y, and corresponding diagonal matrices Dx and Dy with these vectors as their leading diagonals, the following identity holds:[3]

,

where x * denotes the conjugate transpose of x. In particular, using vectors of ones, this shows that the sum of all elements in the Hadamard product is the trace of ABT. A related result for square A and B, is that the row-sums of their Hadamard product are the diagonal elements of ABT:[4]

The Hadamard product is a principal submatrix of the Kronecker product.

你可能感兴趣的:(du)