Multiplying (4.7)
by
XI,
with 1
sj
s t,
and
summing over i = 1 to t gives
( 4.8)
Equations (4.8) (the
"Newton
identities") are t linear equations, for j = 1 to t,
which enable the t coefficients
f,
to ft to be calculated, and hence
the
Xi to
be
found
by
solving (4.6).
Thus,
the
error-correction
procedure
for
BCH
codes
is
1.
Find the m =
2t
syndromes corresponding to the consecutive roots.
2.
Solve the linear system
of
( equations (4.8) to find the coefficients
f,
to ft.
3.
Solve (4.6) to find the t
error
locators Xi.
4.
Determine
the columns in H where errors have occurred from
the
values Xi
and change
the
bits in
the
received vector corresponding to those columns.
4.4.1
Practical Procedures for Solving the Equations
Various methods have been developed for speeding up the calculations in steps 2
and
3;
but
given
that
in
most cases (
is
relatively small (e.g., « 10) and
that
computers
are
being used in any case, simple direct methods often
are
sufficient.
Thus, step 2 may be performed
by
normal methods for linear equations (e.g.,
determinants) without taking into account the
"diagonal"
arrangement
of
the 5, to
5
2t
or
the fact
that
there
are only
2(
rather
than
(2
distinct matrix elements.
And
in
step
3
there
are only n possible values for the Xi' namely
aU
to
a(n~
I),
and
these can simply be tested
one
by
one
to see if they are roots
of
f(
x).
However, it
is
important to note
that
if the
number
of
errors
is
r < t
then
f(x)
is
only
of
degree r and
the
system
of
equations (4.8) becomes singular. This
presents problems in step
2.
More precisely, if
there
are
r, 0 < r <
(,
errors and we
assume
that
there
are
s, 0 < s s
(,
errors
and therefore use a function
f(x)
of
degree s, the system
of
equations (4.8)
is
effectively insoluble unless we guess s = r
correctly. To understand how this
is
so, consider the situation when
there
are
r(
s
()
real errors.
Equations (4.8) then become
( 4.9)
for 1
sj
s 2( -
r,
since
f(x)
is
now only
of
degree
r,
but
the
number
of
syndromes
evaluated
is
2
(.
This system
of
(2 ( -
r)
equations in r unknown
is
either inconsis-
tent
or
else contains
redundant
(linearly
dependent)
equations.
It
cannot
be
inconsistent, because it
is
true; therefore, the excess
(2t
- r - r =
2t
-
2r)
equa-
tions must be satisfied automatically by the solution to
the
first r equations.
The