张量乘积法则详解 - 矩阵、向量运算规则
张量乘积法则是指两个张量的乘积可以通过将它们的分量按照一定规则相乘、相加得到一个新的张量。具体来说,设$A$和$B$是两个张量,$A$的阶为$n$,$B$的阶为$m$,则它们的乘积$C=A/otimes B$的阶为$n+m$。/n/n下面是张量乘积的计算规则:/n/n1. 两个向量的张量积:设$/vec{a}$和$/vec{b}$分别是两个$n$维向量,它们的张量积为一个$n/times n$的矩阵:/n/n$$//C=/vec{a}/otimes/vec{b}=//begin{pmatrix}//a_1b_1 & a_1b_2 & /cdots & a_1b_n ////a_2b_1 & a_2b_2 & /cdots & a_2b_n /////vdots & /vdots & /ddots & /vdots ////a_nb_1 & a_nb_2 & /cdots & a_nb_n /////end{pmatrix}//$$ /n/n2. 一个向量和一个矩阵的张量积:设$/vec{a}$是一个$n$维向量,$B$是一个$n/times m$的矩阵,它们的张量积为一个$n/times n/times m$的三维张量:/n/n$$//C=/vec{a}/otimes B=//begin{pmatrix}//a_1B & a_2B & /cdots & a_nB /////end{pmatrix}=//begin{pmatrix}//a_1b_{11} & a_1b_{12} & /cdots & a_1b_{1m} ////a_2b_{11} & a_2b_{12} & /cdots & a_2b_{1m} /////vdots & /vdots & /ddots & /vdots ////a_nb_{11} & a_nb_{12} & /cdots & a_nb_{1m} ////a_1b_{21} & a_1b_{22} & /cdots & a_1b_{2m} ////a_2b_{21} & a_2b_{22} & /cdots & a_2b_{2m} /////vdots & /vdots & /ddots & /vdots ////a_nb_{n1} & a_nb_{n2} & /cdots & a_nb_{nm} /////end{pmatrix}//$$ /n/n3. 两个矩阵的张量积:设$A$是一个$n/times m$的矩阵,$B$是一个$m/times p$的矩阵,它们的张量积为一个$n/times m/times p$的三维张量:/n/n$$//C=A/otimes B=//begin{pmatrix}//a_{11}B & a_{12}B & /cdots & a_{1m}B ////a_{21}B & a_{22}B & /cdots & a_{2m}B /////vdots & /vdots & /ddots & /vdots ////a_{n1}B & a_{n2}B & /cdots & a_{nm}B /////end{pmatrix}//$$ /n/n4. 两个三维张量的张量积:设$A$和$B$分别是$n_1/times n_2/times n_3$和$m_1/times m_2/times m_3$的三维张量,它们的张量积为一个$n_1m_1/times n_2m_2/times n_3m_3$的三维张量:/n/n$$//C=A/otimes B=//begin{pmatrix}//a_{111}B & a_{112}B & /cdots & a_{11n_3}B & a_{121}B & /cdots & a_{1n_2n_3}B ////a_{211}B & a_{212}B & /cdots & a_{21n_3}B & a_{221}B & /cdots & a_{2n_2n_3}B /////vdots & /vdots & /ddots & /vdots & /vdots & /ddots & /vdots ////a_{n_11}B & a_{n_12}B & /cdots & a_{n_1n_3}B & a_{n_21}B & /cdots & a_{n_2n_3}B /////end{pmatrix}//$$ /n/n以上就是张量的乘积法则,它是一种非常重要的数学工具,在物理学、工程学等领域有广泛的应用。
原文地址: https://www.cveoy.top/t/topic/oRst 著作权归作者所有。请勿转载和采集!