Scalars, Vectors, Matrices and Tensors
Scalars, vectors, matrices and tensors are fundamental structures of linear algebra, and understanding them is integral to unlock the concepts of deep learning.
- A scalar is a singular quantity like a number.
- A vector is an array of numbers (scalar values).
- A matrix is a grid of information with rows and columns.
- A tensor is a mathematical object that can be thought of as a multi-dimensional array of numbers. It generalizes scalars (which are 0-dimensional), vectors (1-dimensional), and matrices (2-dimensional) to potentially higher dimensions.
Another example
MATRIX ADDITION
MATRIX TRANSPOSE
Matrix Multiplication