Let
be a prime and let
denote the set of all
non-zero
-tuples, i.e., the non-zero vectors in
the
-dimensional vector space
over
.
We may represent each vector by an
-tuple
of integers belonging to
.
If
and
the define
This is a map
.
Let
and
be two such vectors. Define
if
.
Now take each vector
and divide every entry by it's first non-zero entry.
Let
be the set of them. There are
elements in
. Write the elements of the set
in increasing order, using the ordering
above.
Let
be the
matrix whose
column is
the
vector in
(written as a column vector).
We know that the first column of
is
and the last column is
Example 3.9.5
For example, if
and
then
is a parity check matrix and
is a generator matrix for the
Hamming
code over
.
Exercise 3.9.6
Write down
if
and
.
The code
whose parity check matrix is this matrix
constructed above is the
-ary Hamming code of length
and dimension
. More generally, we
have the following definition.
Like its binary cousin, it has minimum distance
.
It is left as an exercise to prove the analog of
Lemma 3.9.3 in this case.
Remark 3.9.8
It is also possible to define the RM code
of order
in Example 3.7.6
as the dual code of the
Hamming code extended by one parity check bit:
Let
be the Hamming code over
of length
. Extend this code to a length
code,
,
where the extra ``bit'' is defined by a parity check:
, where
.
It is known that
is equivalent to the first order
Reed-Muller code (this is a special case of
Theorem 11 in chapter 13 of [MS]).
David Joyner
2007-09-03