Reduction of the complexity

We know from the previous section that the computations of the matrices $ Y_k^T=[Z^T_k,\mathbf{\alpha}_k^T]$, the vectors $ \mathbf{x}_k=[\mathbf{w}_k^T,\mu_k]$ and the computations of the matrices $ S_k^T \mathbf{x}_k$ and $ S_k^T Y_k$ in every step of the algorithm are responsible for the $ n^2$ factor in the complexity count. If we could reduce the complexity of these operations, the overal operation count would decrease with a factor $ n$.

Let us start with the computation of the solution vector $ \mathbf{x}$. Instead of computing for every $ k$ the vector $ \mathbf{x}_k$, wich incorporates the computation of $ \mathbf{w}_k,Z_k$ and $ Y_k$ at every step, we will postpone this computation up to the very end, and simple store the factors $ \mu_k$ and $ \alpha_k$ for every $ k$. Extracting the computation of $ \mathbf{x}$ out of the loop, the final solution vector can be written in the following form. (Denote with $ x_i$ the $ i$th component of the vector $ \mathbf{x}=[x_1,x_2,\ldots,x_n]^T$.)

$\displaystyle \mathbf{x}=$ $\displaystyle =$ $\displaystyle \left[ \begin{array}{c}
\vdots \\
\mu_{n-3}+\mathbf{\alpha}_{n-3...
...+\mathbf{\alpha}_{n-1}\mu_n \mathbf{c}_n^T \\ [0.1cm]
\mu_n
\end{array} \right]$  
  $\displaystyle =$ $\displaystyle \left[ \begin{array}{c}
\vdots \\
\mu_{n-3}+
\alpha_{n-3}
\left(...
...alpha_{n-1}\left(x_n \mathbf{c_n^T}\right) \\ [0.1cm]
\mu_n
\end{array} \right]$  

The computation of the vector above can easily be rewritten in a recursive manner, as the term following the vector $ \alpha_{n-1}$ in the computation of $ x_{n-1}$, can be used in the computation of $ x_{n-2}$. Consequetively, the term following the vector $ \alpha_{n-2}$ in the computation of $ x_{n-2}$, can be used in the computation of $ x_{n-3}$, and so on. Implementing this in a recursive way, from bottom to top requires $ O(p_1 n)$ operations for computing the solution, instead of the $ O(p_1 n^2)$ operations needed if it was incorporated in the main loop. The implementation of this recursion is given the next section.

Secondly, one need to reduce the computation of the matrices $ S^T_kY_k$ and $ S^T_k\mathbf{x}_k$ in the loop. This reduction in complexity is related to the structure in the lower triangular part, as the following example shows:

Example 1   A simple case, considers the class of upper triangular matrices. This means that the matrix $ S_k=0$. Hence all the computations involving the matrix $ S_k$, such as $ S_k^T \mathbf{x}_k$ and $ S_k^TY^T$ are removed thereby creating an $ O(p_1 n)$ solver for upper triangular, simple $ p_1$-Levinson conform matrices.

We would like to place this however in a more general framework. The class of matrices admitting this reduction in complexity is the class of simple $ (p_1,p_2)$-Levinson conform matrices. Assume a simple $ (p_1,p_2)$-Levinson conform matrix $ A$ is given, this means that the lower triangular part is structured in a similar way as the upper triangular part. We have that our matrices $ S_k$ satisfy the following relations (for $ 1 \leq k \leq n-1$):

$\displaystyle S_{k+1}= \left[ \begin{array}{c} S_k Q_k \\ \eta_{k+1} \end{array} \right],$    

where $ Q_k$ is a matrix of dimension $ p_2\times p_2$ and $ \eta_{k+1}$ is a row vector of length $ k$.

Using this relation, the computation of $ S_{k+1}^T Y_{k+1}$ can be rewritten in terms of the matrix $ S_k^T Y_k$, admitting thereby a recursive computation of these products:

$\displaystyle S_{k+1}^T Y_{k+1}$ $\displaystyle =$ $\displaystyle [Q^T_k S_{k}^T, \mathbf{\eta}_{k+1}^T]
\left[ \begin{array}{c}
Z_{k+1} \\
\mathbf{\alpha}_{k+1}
\end{array} \right]$ (9)
  $\displaystyle =$ $\displaystyle Q^T_k S_{k}^T Z_{k+1} + \mathbf{\eta}_{k+1}^T \mathbf{\alpha}_{k+1}$  
  $\displaystyle =$ $\displaystyle Q^T_k S_{k}^T Y_{k}(P_k+\mathbf{c}_{k+1}^T \mathbf{\alpha}_{k+1}) + \mathbf{\eta}_{k+1}^T \mathbf{\alpha}_{k+1}$  
  $\displaystyle =$ $\displaystyle Q^T_kS_{k}^T Y_{k}P_k+(Q^T_kS_{k}^T Y_{k}\mathbf{c}_{k+1}^T + \mathbf{\eta}_{k+1}^T)
\mathbf{\alpha}_{k+1}.$  

This leads to a recursive calculation independent of $ k$.

In a similar a recursive formula for computing the products $ S_k^T \mathbf{x}_k$ can be derived:


$\displaystyle S^T_{k+1} \mathbf{x}_{k+1}$ $\displaystyle =$ $\displaystyle [Q^T_kS^T_{k}, \mathbf{\eta}_{k+1}^T]
\left[ \begin{array}{c}
\mathbf{w}_{k+1} \\
\mu_{k+1}
\end{array} \right]$ (10)
  $\displaystyle =$ $\displaystyle Q^T_k S^T_k \mathbf{x}_k + \mu_{k+1} \left(Q^T_kS^T_k Y_k \mathbf{c}_{k+1}^T + \mathbf{\eta}_{k+1}^T\right).$  

This recursive formula for computing $ S_k^T \mathbf{x}_k$ in each step of the loop is independent of $ k$.

In the first section we proved that every matrix is $ (n,n)$-Levinson conform. Solving a system of equations with a strongly nonsingular simple $ (n,n)$-Levinson conform matrix, therefore costs $ O(n^3)$.

In the following section the algorithm for solving strongly nonsingular simple $ (p_1,p_2)$-Levinson conform systems of equations in $ O(p_1p_2n)$ operations is presented.

Raf Vandebril 2006-03-30