next up previous contents index
Next: Similarity reduction to Hessenberg-like Up: Implementation of the algorithm Previous: Implementation of the algorithm   Contents   Index


The orthogonal similarity reduction to symmetric semiseparable form

First we describe how to implement the orthogonal similarity reduction of a symmetric matrix into semiseparable form, using the Givens-vector representation of a semiseparable matrix. This representation gives information which can directly be used in the $ QR$-algorithm applied to the resulting semiseparable matrix, as will be shown in Chapter 9. The implementation involves detailed shuffling of indices. Therefore only the mathematical details behind the implementation are given. The MATLAB-files can be downloaded from http://www.cs.kuleuven.ac.be/tex2html_wrap_inline$&sim#sim;$marc/
software.

Suppose we are at the beginning of step $ k=n-j$ in the reduction algorithm, this means that the rows $ j+1,j+2,\ldots,n$ (columns $ j+1,j+2,\ldots,n$) are already semiseparable. We can represent this semiseparable part by a row-vector $ R_j \in \mathbb{R}^{1\times j}$, Givens transformations

% latex2html id marker 35123
$\displaystyle \left( \begin{array}{cr} c_i & -s_i \\  s_i & c_i \end{array} \right), \qquad i=j+1,j+2,\ldots,n-1$    

and a vector $ [d_{j+1},d_{j+2},\ldots,d_n]$. At this point, the matrix $ A^{(k)}$ similar to the original symmetric matrix $ A$ can be divided into four blocks:

% latex2html id marker 35131
$\displaystyle \left( \begin{array}{cc\vert ccc} A_...
...{j+1} R_j & s_{n-1} \dots s_{j+1} d_{j+1} &\cdots & & d_{n} \end{array} \right)$ (6.1)

with $ A_k \in \mathbb{R}^{j\times j}$. In the actual implementation only the vector, the Givens transformations and the matrix

% latex2html id marker 35135
$\displaystyle \left( \begin{array}{cc} A_k & R_j^T \\  R_j & d_{j+1} \end{array} \right)$    

are stored.

The first substeps in step $ k$ of the method described in the proof of Theorem 49, eliminate the elements $ 1,2,\ldots,j-1$ in row $ j+1 $ by multiplying $ A_k$ to the right by the Givens transformations $ G_1^{(k)}$, $ G_2^{(k)}$, ..., $ G_{j-1}^{(k)}$, i.e.,

$\displaystyle R_j G_1^{(k)}G_2^{(k)}\cdots G_{j-1}^{(k)} = \left( 0, \dots, 0, \tilde{\alpha}_j \right) = \tilde{R}_{j+1}.$    

It is clear that we can obtain a similar result by applying a Householder transformation $ H^{(k)}$ on the row $ R_j$ such that the following equation is obtained:

$\displaystyle R_j H^{(k)} = \left( 0, \dots ,0, \alpha_j \right) = \hat{R}_j,$    

with $ \vert\alpha_j \vert = \vert \tilde{\alpha}_{j} \vert $. Performing the similarity Householder transformation on the matrix (6.1) transforms this matrix into the following one:

% latex2html id marker 35161
$\displaystyle \left( \begin{array}{ccccc} {H^{(k)}...
...\hat{R}_j& s_{n-1} \dots s_{j+1} d_{j+1} &\cdots & & d_{n} \end{array} \right).$ (6.2)

From this point the Givens transformation $ G_{j}^{(k)}$ can be calculated, such that the following equation is satisfied:

$\displaystyle \left( \alpha_j,d_{j+1} \right) G_{j}^{(k)}=\left( 0,\alpha_{j+1} \right)$    with % latex2html id marker 35166
$\displaystyle \qquad G_{j}^{(k)}= \left( \begin{array}{rc} c_{j} & s_{j} \\  -s_{j} & c_{j} \end{array} \right).$    

The upper left part $ {H^{(k)}}^T A_kH^{(k)}$ can be written as:

% latex2html id marker 35170
$\displaystyle {H^{(k)}}^T A_kH^{(k)} = \left( \begin{array}{cc} A_{k-1} & R_{j-1} \\  R_{j-1} & \tilde{d}_{j} \end{array} \right).$    

We get the following matrix

% latex2html id marker 35172
$\displaystyle \left( \begin{array}{ccccccc} A_{k-1...
...c_{j+2} d_{j+2} \\  \vdots & \vdots & \vdots & & \ddots\\  \end{array} \right),$ (6.3)

after applying the similarity Givens transformation $ G_{j}^{(k)}$ on the matrix (6.3) we get the following matrix:

% latex2html id marker 35176
$\displaystyle \left( \begin{array}{ccccccc} A_{k-1...
...0 & s_{n-1}\dots s_{j+1} \alpha_{j+1} & &\dots & d_{n} \\  \end{array} \right),$ (6.4)

with $ \hat{d}_{j}=\tilde{d}_{j} c_{j} + s_{j} c_{j+1} \alpha_j$. The Givens transformation $ {G_{j}^{(k)}}^T $ and the element $ \hat{d}_{j}$ can already be stored as part of the representation of the new semiseparable part which has to be formed at the bottom of the matrix. The process explained here can now be repeated to make all rows $ j$, $ j+1 $ up to $ n$ semiseparable, because the matrix (6.4) has essentially the same structure as the matrix (6.2). One can clearly see that the Givens transformations $ G_{j}^{(k)}$ calculated here can immediately be stored to represent the lower right semiseparable block of the matrix.

Note 2   The latter step, i.e. the reduction of the lower right part to the semiseparable structure, can also be applied directly on a semiseparable matrix. This corresponds to performing a $ QR$-step (in fact a $ QL$-step) without shift on this semiseparable matrix (see Chapter 5, Section 5.2.2).


next up previous contents index
Next: Similarity reduction to Hessenberg-like Up: Implementation of the algorithm Previous: Implementation of the algorithm   Contents   Index
Raf Vandebril 2004-05-03