For and , the product has entries

Each entry is the dot product of a row of with a column of (see vectors).

  • Associative: . Not commutative in general: .
  • Transpose rule: .
  • A matrix is a linear map: .

Layers of a neural network are matrix multiplications followed by a nonlinearity. Special vectors that a matrix only rescales are covered in eigenvalues.