2018年11月2日 / 265次阅读

• 打开支付宝，搜索“ 529018372 ”，领取专属红包！每日支付每日领。

$$s \odot t$$

$$\begin{eqnarray} \left[\begin{array}{c} 1 \\ 2 \end{array}\right] \odot \left[\begin{array}{c} 3 \\ 4\end{array} \right] = \left[ \begin{array}{c} 1 * 3 \\ 2 * 4 \end{array} \right] = \left[ \begin{array}{c} 3 \\ 8 \end{array} \right] \end{eqnarray}$$

The Hadamard product operates on identically-shaped matrices and produces a third matrix of the same dimensions.

In mathematics, the Hadamard product (also known as the Schur product or the entrywise product) is a binary operation that takes two matrices of the same dimensions, and produces another matrix where each element i,j is the product of elements i,j of the original two matrices. It should not be confused with the more common matrix product. It is attributed to, and named after, either French mathematician Jacques Hadamard, or German mathematician Issai Schur.

### 留言区

• 麦新杰

np中的*，就是hadamard product。要在np中做真正的matrix product，请使用@ ，或者dot() []

Ctrl+D 收藏本页