85 study notes several matrix product (matmul product, hadamard product and kronecker product)

Analysis matmul product (typically matrix product), hadamard product (Hadamard product), kronecker product (Kronecker)

Matrix multiplication
1. matmul product (typically matrix product)

MXP pxn matrix A and matrix B, then C is generally called the mxn matrix A and matrix B the product matrix, denoted as C = AB, wherein matrix elements of C [cij may] A matrix , B and the corresponding elements of the twenty-two, expressed as:


example:


2. Hadamard product (Hadamard product)

MXN matrix A = [aij] and matrix $ B = [bij] Hadamard product, referred to as A * B. The new matrix is defined as matrix elements A, B product (A * B) of the corresponding element ij = aij.bij.

example:




Hadamard product
3. Kronecker product (Kronecker)

the Kronecker product operation between the two is an arbitrary size of the matrix, denoted as A x B. If A is an mxn matrix, and B is a matrix pxq, it is a Kronecker product of mp x nq matrix. Kronecker also known as direct product or tensor product, the German mathematician Leopold Kronecker name.

example:


calculation process:


Reference link: https: //blog.csdn.net/yjk13703623757/article/details/77016867

Guess you like

Origin www.cnblogs.com/hechangchun/p/11087943.html