next up previous
Next: The reduction of an Up: Orthogonal similarity transformation to Previous: Theory


Effective implementation of the reduction

Now we describe how to implement the method above 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 [19].

The implementation involves detailed shuffling of indices, therefore only the mathematics behind the implementation is given. The MATLAB-files can be downloaded from http://www.cs.kuleuven.ac.be/$ \sim$marc. Following the mathematical details, one should be able to understand and/or reconstruct the algorithm.

Suppose rows $ j,j+1,\ldots,n$ (columns $ j,j+1,\ldots,n$) are already semiseparable. We can represent this semiseparable part by a row-vector $ R^{(j)} \in \mathbb{R}^{1\times(j-1)}$, Givens transformations

% latex2html id marker 5496
$\displaystyle \left(\begin{array}{cr} c_j & -s_j \\  s_j & c_j \end{array} \right), \qquad k=j,j+1,\ldots,n-1$    

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

% latex2html id marker 5500
$\displaystyle A_0^{(m)} =\left(\begin{array}{cc\ver...
...dots & \vdots\\  s_{n-1} \dots s_j R_j & & & \cdots & d_{n} \end{array} \right)$ (3)

with $ m=n-j$ and $ A^{(j)} \in \mathbb{R}^{(j-1)\times(j-1)}$.

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

$\displaystyle R_j G_1^{(m)}G_2^{(m)}\cdots G_{j-2}^{(m)} = [0, \dots, 0, \tilde{\alpha}_j] = \tilde{R}_j.$    

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

$\displaystyle R_j H^{(m)} = [0, \dots, 0, \alpha_j] = \hat{R}_j,$    

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

% latex2html id marker 5530
$\displaystyle \left(\begin{array}{ccccc} {H^{(m)}}^...
...\ddots \\  s_{n-1} \dots s_j \hat{R}_j& \cdots & & & d_{n} \end{array} \right).$ (4)

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

$\displaystyle [\alpha_j,d_j] G_{j-1}^{(m)}=[0,\alpha_{j+1}]$    with % latex2html id marker 5535
$\displaystyle \qquad G_{j-1}^{(m)}= \left(\begin{array}{rc} c_{j-1} & s_{j-1} \\  -s_{j-1} & c_{j-1} \end{array} \right)$    

The upper left part $ {H^{(m)}}^T A^{(j)}H^{(m)}$ can be written as:

% latex2html id marker 5539
$\displaystyle {H^{(m)}}^T A^{(j)}H^{(m)} = \left(\b...
...ray}{cc} A^{(j-1)} & R_{j-1} \\  R_{j-1} & \tilde{d}_{j-1} \end{array} \right).$    

After applying the similarity Givens transformation $ G_{j-1}^{(m)}$ on the matrix (3.3) we get the following matrix:

% latex2html id marker 5543
$\displaystyle \left(\begin{array}{ccccccc} A^{(j-1)...
...0 & 0 & s_{n-1}\dots s_j \alpha_{j+1} & &\dots & d_{n} \\  \end{array} \right),$ (5)

with $ \hat{d}_{j-1}=\tilde{d}_{j-1} c_{j-1} + s_{j-1} c_j \alpha_j$. The Givens transformation $ {G_{j-1}^{(m)}}^T $ and the element $ \hat{d}_{j-1}$ 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-1$, $ j $ up to $ n$ semiseparable, because the matrix (3.4) has essentially the same structure as the matrix (3.3).

Note: The latter step, i.e. the reduction of the lower right part towards 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 [19].


next up previous
Next: The reduction of an Up: Orthogonal similarity transformation to Previous: Theory
Raf Vandebril 2004-04-19