上QQ阅读APP看书,第一时间看更新
Adding matrices
As with scalars and vectors, sometimes we may have to add two or more matrices together, and the process of doing so is rather straightforward. Let's take two matrices, A and B, and add them:
It is important to note that we can only add matrices that have the same dimensions, and, as you have probably noticed, we add the matrices element-wise.