matrix.js
const matrix = list(
list(1, 2, 3),
list(4, 5, 6),
list(7, 8, 9),
);
Scalar multiplication is multiplying a real number by a matrix.
The dot product is the result of summing the products of two equal length n-tuples. For example, the dot product of (2, 5) * (3, 1) = (2 * 3) + (5 * 1) = (6 + 5) = 11.
Matrix multiplication is the product of two matrices.
.
Notice how each entry in matrix C is the dot product of a row in matrix A and a column in matrix B