In the previous two chapters different theoretical results were
combined, in order to build an implicit
-algorithm for
semiseparable matrices. We know how such an algorithm should
be designed. The only unsolved problem yet is the implementation. For
the implementation we choose the Givens-vector representation as
defined in Chapter 2.
In the previous
chapters, nothing was mentioned about the deflation criterion, i.e.,
when do we assume that an eigenvalue is accurate enough, or even more,
when should we deflate an almost block diagonal matrix into several
blocks. This problem, together with a fast computation for the
norms of the off-diagonal blocks is solved in this chapter too. The
final important problem related to the eigenvalue decomposition is the
calculation of the eigenvectors. Two different possible ways will be
explained on how to compute them.
In the first section of this chapter an
implementation
will be given to solve diagonal plus semiseparable systems of equations via the
-factorization of the diagonal plus semiseparable matrix. As we
know from the previous chapter the
-factorization consists of
applying twice a sequence of
Givens transformations. The
algorithm is therefore also divided in two separate parts. In a first
part, the first sequence of Givens transformations is applied on
three matrices: the lower triangular part of the semiseparable matrix,
the strictly upper triangular part of the semiseparable matrix and the
diagonal matrix. Recombining these three matrices shows
that the resulting Hessenberg matrix has the upper triangular part of
rank
. This upper triangular part will be represented by two
Givens-vector representations. The application of the second sequence
of Givens transformations will transform the Hessenberg matrix into a
strictly upper triangular matrix of rank
, represented by two
Givens-vector representations, and a diagonal. Using this
representation of the upper triangular matrix, the system can be
solved via backward substitution in order
.
In the second section, we will design the implementation of a
Section 9.3 discusses the reduction of a matrix to the unreduced form. Attention is paid to a criterion stating wether or not the semiseparable structure extends above the diagonal.
Section 9.4 gives the details on the implementation of an implicit
Deflation is the subject of following section. It is investigated when we should divide the symmetric semiseparable matrix in different blocks, such that all the eigenvalues of these blocks approximate very well the eigenvalues of the original matrix. In the tridiagonal approach the original matrix is divided, if the corresponding subdiagonal elements are close enough to zero. This is logical because the subdiagonal elements contain all the information of the corresponding lower left block, which only has the upper right element, which is the subdiagonal element, different from zero. In our semiseparable case however the lower left blocks are full. Calculating the norms of all of the lower right blocks, to see whether they are close enough to zero, is a very slow operation. Fortunately we can compute all the norms of the off-diagonal blocks in
In several cases, not only the eigenvalues are desired, but sometimes also some or all of the eigenvectors are needed. Section 9.6 considers two possibilities for calculating the eigenvectors of the symmetric semiseparable matrix. The first method consists of performing all the orthogonal transformations, needed to compute all the eigenvalues via the implicit
Section 9.7 briefly discusses the implementation of the implicit
In Section 9.8 different numerical experiments are performed on the eigenvalue solver based on semiseparable matrices. Arbitrary matrices are transformed to a similar symmetric semiseparable one and afterwards the implicit
In the last section several numerical experiments are performed using the algorithm to compute the singular values via intermediate upper triangular semiseparable matrices. Two types of experiments are performed. In one type of experiment the accuracy between the bidiagonal and the upper triangular semiseparable approach are compared. In the second experiment the number of