Based on the previous two sections we can present a first version of a
Levinson-like solver for simple
-Levinson conform matrices.
The algorithm is given in a simple mathematical formulation.
First the problem is initialized and then the main loop is performed.
After each computation in the algorithm, the number of operations5involved is shown.
We remark that the presented algorithm, is not the most efficient
implementation, it is written in this way, to clearly see the most
computational expensive steps. For the operation count, we assume that the multiplication
of a row vector with any of the matrices
has a flop count bounded by
, with
and
two constants.
Performing an overall complexity count leads us to an algorithm of
complexity
. This means that as long as the factor
, the method will perform better than Gaussian elimination
if the matrices in question are large enough. However, taking a closer
look at the involved computations, we can see that the bottlenecks,
causing the factor
in the operation count, are the computations
of the matrices
, and
, and the explicit
formation of the matrices
and vectors
. Assume, now that
one could remove the computation of
and
out of the
innermost loop, and compute the final solution, using only the stored
values of
and
in
operations (dependent
on
and
however). Assume also that one could compute the
products
and
in constant time, independent of
. This would lead to the following algorithm.
In the next section, we illustrate how to achieve the above
complexity, by computing the solution in another loop and by computing
the products
and
, in an inductive way,
making thereby the computation indepent of
.
Raf Vandebril 2006-03-30