Matrix Basics Flashcards
Order of row and column
(Row,Column)
Matrix Addition and Subtraction Rules
Must be the same size
What is an array?
A collection of elements within a single variable.
1D Array
Single row or column vector
2d Array
has both rows and columns
3d Array
Rows, columns and layers
Row vector
horizontal single line array
Column vector
vertical single line array
Matrix Addition and Subtraction
matrices must be same size
calculation is done element by element
Requirement for matrix multiplication
Inner dimensions must be the same
What does inner dimensions must be the same mean?
Rows must match columns i.e. 1x3 * 3x1
Matrix Arithmetic: Cumulative Law of Addition
A+B = B+ A
Matrix Arithmetic: Associative Law of Addition
A+(B+C) = (A+B)+C
Matrix Arithmetic: Associative Law of Multiplication
A(BC) = (AB)C
Matrix Arithmetic: Distributive Laws
A(B+C) = AB + AC
(A_B)C= AC + BC