Definition 3.4.17
If

is any matrix with entries in a field

then replacing any row of

by
(a) its sum with another row, or
(b) its scalar multiple with any non-zero element of

,
is called an
elementary row operation.
If

is any matrix with entries in a field

then
(a) swapping any two columns, or
(b) replacing any column of

by
its scalar multiple with any non-zero element of

,
is called a
simple column operation.
Lemma 3.4.18
If

is a generating matrix for a
linear code

then so is

, where

is any matrix obtained from

by
an elementary row operation.
Definition 3.4.19
If

is a generating matrix for a
linear code

and

is the linear code
with generating matrix

, where

is any matrix obtained from

by
elementary row operations or simple column operations,
then we say that
the codes

and

are
equivalent.
Example 3.4.20
For the ISBN code,
is a generating matrix. By the above lemma, so is
where we replaced the second row by its sum with the
first row.
However, if we swap the first two columns of

, to get
then

generates a code

which is
different from

. The codes

and

are
equivalent.