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