![]() |
Table of Contents ![]() ![]() ![]() |
|
See also: Addition of Vectors | ![]() ![]() |
Adding or subtracting matrices is simple and can be accomplished by adding/subtracting the corresponding matrix elements:
crs := ars + brs,
with C, A, and B being the respective matrices. The order of the matrices A and B must be the same. Matrices of unequal order cannot be added or subtracted.
The zero matrix 0 naturally arises from subtracting two indentical matrices and contains only zero elements.
A - A = 0
Let's take a look at an example:
Last Update: 2006-Jän-17