Vectors and Matrices
Matrix Addition
Add two 2x2 matrices by summing their corresponding elements. Each of the four positions is computed in one step. The state panel records each result element as it is filled in, building the result matrix entry by entry.
matrix entry notation
A[i,j] denotes the entry in row i, column j (1-indexed). Matrix addition requires both matrices to have the same dimensions.
element-wise operation
Like vector addition, matrix addition operates element by element: (A + B)[i,j] = A[i,j] + B[i,j].