Hadamard product
按元素乘积。
python中Hadamard product和matrix product的区分:
For numpy.ndarray objects, * performs elementwise multiplication, and matrix multiplication must use a function call (numpy.dot). For numpy.matrix objects, * performs matrix multiplication, and elementwise multiplication requires function syntax.
也就是说,当变量类型为 numpy.ndarray 时,∗表示的是Hadamard product;当变量类型为 numpy.matrix 时,∗表示的是matrix product。
https://blog.csdn.net/Flying_sfeng/article/details/79330336