next up previous
Next: An algorithm connected to Up: The definition of a Previous: A new representation for

Retrieving the representation from a semiseparable matrix

Here, a method is proposed to retrieve the representation of a semiseparable matrix, in terms of the Givens-vector representation in a stable way.

In fact we search for the map:

$\displaystyle s_{\mathcal{S}_2}: \mathcal{S}$ $\displaystyle \rightarrow$ % latex2html id marker 3680
$\displaystyle {\mathbb{R}}^{2\times(n-1)} \times {\mathbb{R}}^n$  
$\displaystyle S$ $\displaystyle \mapsto$ $\displaystyle (G,d)$  

Suppose we have a semiseparable matrix as in (17). The vector elements $ d_i$ can be retrieved rather easily, from the matrix. In fact:

    $\displaystyle \Vert S(i:n,i) \Vert _2$  
  $\displaystyle =$ $\displaystyle \sqrt{(c_i d_i)^2 + (c_{i+1} s_i d_i)^2 + \cdots
+ (c_{n-1}s_{n-2} \ldots s_i d_i)^2+ (s_{n-1}s_{n-2} \ldots s_i d_i)^2 }$  
  $\displaystyle =$ $\displaystyle \sqrt{(c_i d_i)^2 + (c_{i+1} s_i d_i)^2 + \cdots
+ (s_{n-1}^2+c_{n-1}^2)(s_{n-2} \ldots s_i d_i)^2 }$  
  $\displaystyle =$ $\displaystyle \sqrt{(c_i^2+s_i^2) d_i^2}$  
  $\displaystyle =$ $\displaystyle \vert d_i\vert$  

This means that the absolute values of $ d_i$ can be calculated by calculating the norms of the $ i$th column $ \Vert S(i:n,i)\Vert$. To calculate the corresponding Givens transformations connected with the semiseparable matrix, we first map the matrix $ S$ towards another semiseparable matrix. This procedure is quite expensive, but results in a stable way to compute a representation. The matrix $ S$ is mapped onto the following matrix of norms. Note that the choice of the norm does not play a role:

% latex2html id marker 3719
$\displaystyle \hat{S}=\left( \begin{array}{ccccc} \...
...\Vert & \Vert S(n,1:2)\Vert & \ldots \Vert S(n,1:n)\Vert \\  \end{array}\right)$ (19)

So in fact a new matrix $ \hat{S}$ is created with as elements $ \hat{S}_{i,j}= \Vert S(i,1:j)\Vert$. Remark that this matrix has the same dependency between the rows as the matrix $ S$ (except for the signs). We start with calculating the last Givens transformation $ G_{n-1}$ such that

$\displaystyle G_{n-1} \left(r_{n-1} \;,\; 0 \right)^T= \left( \Vert S(n-1,1:n-1)\Vert \;,\; \Vert S(n,1:n-1)\Vert \right)^T.$    

Before calculating the next Givens transformation we have to update the matrix $ \hat{S}$, by applying the Givens transformation $ G_{n-2}$ to the rows $ n-1$ and $ n$. Denoting this new matrix as $ \hat{S}^{(n-1)}$, the next Givens transformation $ G_{n-2}$ is calculated such that :

$\displaystyle G_{n-2} \left(r_{n-2}\;, \;0\right)^T= \left( \Vert S(n-2,1:n-2)\Vert\;,\;\hat{S}^{(n-2)}_{n-2,n-2} \right)^T.$    

Updating again the matrix $ \hat{S}^{(n-2)}$ by applying the Givens transformation $ G_{n-2}^T$ to the rows $ n-2$ and $ n-1$ we get the matrix $ \hat{S}^{(n-3)}$ and we can calculate $ G_{n-3}$. Consequetively, all the Givens transformations can be calculated, satisfying:

$\displaystyle G_{i} \left(r_{i}\;,\; 0\right)^T= \left(\Vert S(i,1:i)\Vert \; , \; \hat{S}^{(i)}_{i,i}\right)^T .$    

This procedure gives us the Givens-vector representation, except for the sign, but this is done rather easily, by taking a look at the signs of the original matrix, because the Givens are uniquely determined, because we take $ c_i$ always positive. And when a Givens transformation of the following form has to be determined: $ G \left(0 \; , \; 0\right)^T = \left(0 \; , \; 0\right)$ we take $ G$ equal to the identity matrix.

This reconstruction of the representation is of course quite expensive, (faster, even $ O(n)$ algorithms, can be constructed, for arbitrary semiseparable matrices, but they are numerically unstable). In practice however, one should take a closer look at the application one is working with, probably much faster algorithms can be devised corresponding to a particular problem.

In the reduction algorithm from symmetric to semiseparable, the output of the algorithms is already in the appropriate form [41], also the $ QR$ algorithm as proposed in [43] uses as input this representation and gives as output the Givens vector representation of the new semiseparable matrix. In both of these algorithms there is no need to apply this expensive procedure for calculating the Givens vector representation.

This last procedure justifies our new representation, because the mappings $ r_{\mathcal{S}_2}$ and $ s_{\mathcal{S}_2}$ are defined in the appropriate way and represent the complete set $ \mathcal{S}$.

Moreover, this representation reveals already the $ QR$ factorization of the semiseparable matrix $ S$: the Givens transformations appearing in the representation of the matrix are exactly the same as the Givens transformations appearing in the $ Q$ factor of the $ QR$ factorization.(More information can be found in [42,34].)


next up previous
Next: An algorithm connected to Up: The definition of a Previous: A new representation for
Raf Vandebril 2004-04-19