Arrowhead matrices

Arrowhead matrices are often an essential tool for the computation of the eigenvalues, via divide and conquer approaches [25,26], they also arrise, in block form, in domain decomposition methods, when discretizing partial differential equations where they are used as preconditioners. In this section we will show how arrowhead matrices can be solved efficiently using the presented framework, and we will present the algorithm based on Section 3.5. Let us consider the nonsymmetric arrowhead matrix of the following form:

$\displaystyle A= \left[ \begin{array}{ccccc} a_1 & \bar{a}_2 & \bar{a}_3 & \ldo...
...& a_3\\ \vdots & & & \ddots\\ \underline{a}_{n}& & & & a_n \end{array} \right].$    

Where the elements of the form $ \bar{a}_i$ denote the elements of the arrow in the upper triangular part and the elements $ \underline{a}_i$ denote the elements of the arrow in the lower triangular part. The elements $ a_i$ denote the diagonal elements, with $ \underline{a}_1=a_1=\bar{a}_1$, and the elements not shown are assumed to be zero.

Let us define the matrices $ R_k$ and $ S_k$ as $ S_k^T=R_k^T=[1,0,\ldots,0]^T$ which are vectors of length $ k$. Let us define the elements $ \mathbf{c}_k=\bar{a}_k$ and $ \mathbf{d}_k=\underline{a}_k$, the matrices $ P_k=Q_k$ are chosen equal to the identity matrix and the vectors $ \xi_k=\eta_k=0$. One can easily check that this matrix is simple $ (1,1)$-Levinson conform.

Based on our solver of Section 3.5, we derive here the solver for the arrowhead matrix.

Algorithm 4   Initialize
$\displaystyle \alpha_1$ $\displaystyle =$ $\displaystyle \frac{-1}{a_{1}}$   Flops: $\displaystyle 1$  
$\displaystyle \mu_1$ $\displaystyle =$ $\displaystyle \frac{b_1}{a_{1}}$   Flops: $\displaystyle 1$  
$\displaystyle S^T_1 Y_1$ $\displaystyle =$ $\displaystyle S^T_1 \alpha_1 =\alpha_1$   Flops: $\displaystyle 0$  
$\displaystyle S^T_1 x_1$ $\displaystyle =$ $\displaystyle S^T_1 \mu_1 = \mu_1$   Flops: $\displaystyle 0$  

For $ k=1,\ldots,n-1$ do:
  1. Compute and store the following variable:
    1. $ \underline{a}_{k+1}S_k^TY_k$ Flops: $ 1$
    2. $ (\underline{a}_{k+1} S_{k}^T Y_{k} \bar{a}_{k+1} + a_{k+1,k+1})$ Flops: $ 2$
  2. $ \mathbf{\alpha}_{k+1} = \frac{-\underline{a}_{k+1}
S_{k}^T Y_{k} }{(\underline{a}_{k+1} S_{k}^T Y_{k} \bar{a}_{k+1} +
a_{k+1,k+1})}$ Flops: $ 1$
  3. $ \mu_{k+1} = \frac{b_{k+1} - \underline{a}_{k+1} S^T_k x_k
}{\left(\underline{a}_{k+1} S^T_k Y_k \bar{a}_{k+1} + a_{k+1,k+1}\right)} $ Flops: $ 3$
  4. Compute and store the following variables (if $ k<n-1$):
    1. $ S_{k}^TY_{k} \bar{a}_{k+1} $ Flops: $ 1$
    2. $ S_{k+1}^TY_{k+1}=S_{k}^T Y_{k} +
\left(S_{k}^TY_{k}\bar{a}_{k+1} \right)\mathbf{\alpha}_{k+1}
$ Flops: $ 2$
    3. $ S_{k+1}^T\mathbf{x}_{k+1}=S_{k}^T \mathbf{x}_{k}+
\left(S_{k}^TY_{k}\bar{a}_{k+1} \right)\mu_{k+1}
$ Flops: $ 2$

endfor;

Computation of the solution vector ($ h$ is a dummy variable)

$\displaystyle x_n$ $\displaystyle =$ $\displaystyle \mu_n$  
$\displaystyle h$ $\displaystyle =$ $\displaystyle \mu_n \bar{a}$    Flops: $\displaystyle 1$  

For $ k=n-1,-1,1$ do
  1. $ x_k=\mu_k+\alpha_k h$ Flops: $ 2$
  2. $ h=x_i \bar{a}_i+ h$ Flops: $ 2$
endfor.

This algorithm has as largest term in its complexity $ 19n$. If one however uses standard Gaussian elimination to solve this system (after having flipped the arrow, so that it points downwards), the complexity is $ 6n$.

Raf Vandebril 2006-03-30