Reduction of the complexity

We will clarify how we can reduce the complexity in the previous step, to come to a step which takes a constant amount of arithmetic work.

Firstly we will derive a recursion for calculating the inner product $ r^T_k
x_k$. Suppose we just solved the $ (k+1)$th Levinson system of equations, and we start now solving the $ (k+2)$nd system. Let us denote the solution and the right-hand side of the $ (k+1)$th system as follows: $ (S_{k+1}+D_{k+1})x_{k+1}=d_{k+1}$, with $ r_{k+1}^T=[r^T_k,v_{k+1}]$. For the new $ (k+2)$nd system we need the inner product $ r_{k+1}^T x_{k+1}$. This corresponds to the inner product:

$\displaystyle r_{k+1}^T x_{k+1}
 =
 [r^T_k,v_{k+1}]
 \left(\begin{array}{c}
 w_{k+1}\\ 
 \mu_{k+1}
 \end{array}\right).$    

Similarly as in the previous section we can rewrite this in terms of the previous inner product $ r^T_k
x_k$ plus the inner product $ r^T_k y_k$.

$\displaystyle r_{k+1}^T x_{k+1}^T 
 = r^T_k x_k + \mu_{k+1} ( u_{k+1} r^T_k y_k +v_{k+1})$    

Using this recursive formula, already decreases the amount of work in one step.

Instead of constructing the intermediate solutions of all the $ k$th order Levinson equations, one can construct the overall solution in $ O(n)$ operations at the end of the algorithm. This construction is similar as the one described for solving the Yule-Walker type equations. We will briefly illustrate it. Let us denote with $ x_k$ the solution of the $ k$th order Levinson equation, similarly we denote with $ \mu_k$ the last component of $ x_k$. The $ g_i$'s denote factors. We illustrate the computation for a matrix of dimension $ 4\times 4$. We get the following equations with $ g_i=\mu_i u_i$:

$\displaystyle x_1$ $\displaystyle =$ $\displaystyle \mu_1$  
$\displaystyle x_2^T$ $\displaystyle =$ $\displaystyle [ x_1+ g_2y_1, \mu_2]$  
$\displaystyle x_3^T$ $\displaystyle =$ $\displaystyle [x_2^T + g_3 y_2^T, \mu_3]$  
$\displaystyle x_4^T$ $\displaystyle =$ $\displaystyle [x_3^T+ g_4 y_3^T,\mu_4].$  

Expanding now everything towards vector $ x_4$, gives us the following vector:

$\displaystyle x_4 =
 \left(\begin{array}{c}
 \mu_1 + (g_2+f_2 (g_3+ f_3 g_4)) \...
...3 + f_3 g_4) \alpha_2 \\ 
 \mu_3 + g_4 \alpha_3 \\ 
 \mu_4
 \end{array}\right).$    

The latter equation gives a clear clue on how to compute the solution in linear time. This means that for a fast construction of the solution we need to store 4 vectors, namely 2 vectors which store the values of $ \alpha$ and $ \mu$, and two more vectors for storing the values of the factors $ f_i$ and $ g_i$.

Raf Vandebril 2005-04-25