Loading lesson path
Formula
A Scalar is a 0 - dimensional tensor
A Vector is a 1 - dimensional tensor
A Matrix is a 2 - dimensional tensorA
Matrices to higher dimensions.
The number of directions a tensor can have in a N -dimensional space, is called the Rank of the tensor.
R. A Scalar is a single number.
Formula
It is a 0 - dimensional TensorA Vector is an array of numbers.
Formula
It is a 1 - dimensional TensorA
Formula
Matrix is a 2 - dimensional array.Formula
It is a 2 - dimensional TensorTechnically, all of the above are tensors, but when we speak of tensors, we generally speak of matrices with a dimension larger than 2 (
Formula
R > 2).
In linear algebra, the most simple math object is the
const scalar = 1;const array = [ 1, 2, 3 ];