Example 3.4.22
Let

be a subset
of

distinct points. Let
denote the vector space of all polynomials of
degree less than or equal to

. The dimension of

is

since the polynomials

,

, ...,

form a basis. Assume

.
Define the
evaluation map by
This is 1-1 if

since no polynomial of degree

can have more than

zeros. Its image is denoted

. This is a
linear
![$ [n,a+1,n-a]$](img2746.png)
-code over

.
These are called
generalized
(or
shortened or
extended)
Reed-Solomon codes.
(As we shall see later, in the context of cyclic codes,
Reed-Solomon codes have

.)
Note the parameters satisfy the Singleton bound,
so these are MDS codes.
The generator matrix for

is
of the form

.
Exercise 3.4.25
Show that the following result holds. Let

be any
(possibly non-linear) code

.
Then
(Hint: Modify the proof of Theorem
3.4.21.)