An inner product is a generalization of the scalar product. An inner product on ℝn is usually denoted ⟨u, v⟩ rather than u·v and satisfies:
The norm (or length) ∥v∥ of a vector then equals The distance between points v and w is then defined as ∥v–w∥ and the angle between v and w equals
(see Cauchy-Schwarz inequality). A real inner product space is a real vector space with an inner product. A complex inner product space is a complex vector space with an inner product that satisfies instead
to ensure that ⟨v, v⟩ is real. See also Hilbert space.