矩阵基础回顾


 

加法:

矩阵的加法中,双方必须是同型矩阵(A行列与B行列全部相等)才可进行运算。

矩阵加法只要对应位直接相加即可,Aij + Bij = Cij

 

乘法:

若A是M x S (M行S列)矩阵,乘以B(S x N)矩阵,则会得到C(M x N)矩阵。

乘法中,不要求两个矩阵同型。但第一个矩阵的S列数一定要等于第二个矩阵的S行数

乘法是用A的行1中A11 A12 A13…Ams 乘以B矩阵的列1中B11 B21 B31…Bsn 作为C的C11,然后用A11 A12 A13乘以B的第二列B12 B22 B32作为C的C12。即A的i行乘以B的j列得出C中对应的Cij (ij<=mn)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s