# Matrices https://towardsdatascience.com/introduction-to-vectors-and-matrices-using-python-for-data-science-e836e014eb12 A **matrix** of size $m \times n$ is a *two-dimensional array* that has $m$ rows and $n$ columns. A **vector** is a *one-dimensional matrix* Vectors have a magnitude and a direction assoiated with them When a ## Types of Matrices - [ ] square matrices - [ ] diagonal matrices - [ ] ## Matrix Operations ### Matrix Addition ### Scalar Multiplication ### Matrix Multiplication ![[Pasted image 20230226201112.png|425]] > "Each row of first matrix is aligned with every column of second matrix and the product of each alignment is added together" ### When Only One Dimension Aligns