Let K {\displaystyle {}K} be a field, V {\displaystyle {}V} a finite-dimensional K {\displaystyle {}K} -vector space, and let ⟨ − , − ⟩ {\displaystyle {}\left\langle -,-\right\rangle } denote a bilinear form on V {\displaystyle {}V} . Let v 1 , … , v n {\displaystyle {}v_{1},\ldots ,v_{n}} be a basis of V {\displaystyle {}V} . The the n × n {\displaystyle {}n\times n} -matrix
is called the Gram matrix of ⟨ − , − ⟩ {\displaystyle {}\left\langle -,-\right\rangle } with respect to this basis.