In linear algebra, the outer product typically refers to the tensor
product of two vectors. The result of applying the outer product to
a pair of vectors is a matrix. The name contrasts with the inner product,
which takes as input a pair of vectors and produces a scalar.