A linear code over a finite field is a linear subspace . Its parameters record word length, dimension, and minimum Hamming distance. For a nonzero code, is the least Hamming weight of a nonzero word, because the difference of two words is another word.
New to topics? Read the docs here!