Definition 3.8.1
Let

. The
Hamming
-code

is the linear code with
and parity check matrix

defined to be
the matrix whose columns
are all the (distinct) non-zero vectors in

. (Later we will show that it has minimum
distance

.)
Example 3.8.2

: The Hamming

-code
has parity check matrix
By Corollary
3.4.36, the
matrix

is a generating matrix.

:
The Hamming

-code
has parity check matrix
By Corollary
3.4.36, the
matrix
is a generating matrix. Though this may not
look like the code presented in an earlier
section, they are equivalent.