Two bottlenecks arise when solving the Yule-Walker equation of
order
. These are: the computation of
and the computation of
in each step. We will show now how to change the algorithm from
the previous section in order to come to a step with a fixed number of
flops.
Suppose we just solved the
th Yule-Walker system of
equations and we start now solving the
nd system.
Let us denote the solution and the right-hand side of the
th
system as follows:
.
For the new
nd
system we need the inner product
.
This corresponds to the inner product (using hereby the notation from
Section 2.1):
Rewriting the equation above, using the expression for
, leads to the following recursive formula for
the inner product:
It is clear that the inner product
for solving the
Yule-Walker equation of order
, can already be computed at the
end of step
in a constant number of operations if
is
known. Incorporating this inductive construction of the inner product in the algorithm, we remove the
flops in each step
connected to the calculation of the inner product.
The only remaining slow step is the computation of the vector
, and
hence
, in
each step of the algorithm. Let us denote the solution of the
th
Yule-Walker-like type of equations with
.
In fact, we calculate consecutively the following solutions
,(where the
's denote different factors
):
Instead of calculating now in each step the vector
and
,
we will store the factors
and the numbers
.
Storing only these two numbers at each step of the algorithm, we achieve
a constant complexity for solving a
th order Yule-Walker-like type
of equations. The only remaining problem is the computation in order
of the solution vector
. This is done rather easily by starting
the construction of the vector
from bottom to top, and updating
in each step a certain factor. This is a rather straightforward
computation, and therefore not included, the complete algorithm is given in the next subsection.
Raf Vandebril
2005-04-25