Let us start by computing effectively the Givens transformations.
Suppose we have the lower bidiagonal matrix
. It is obvious that
there exists a sequence of Givens transformations
applied on the right of the matrix
such that
is an upper bidiagonal matrix. The Givens transformation
works on the last two columns, the transformation
on columns
and
and so forth.
This gives us the following equation:
In the remainder of this section we will illustrate how to compute the
vector
of the Givens-vector representation of the strictly lower
triangular part, and also how to compute the diagonal of the resulting
quasiseparable matrix. To construct these remaining unknown generators, we have to
compute in some sense explicitly the product of these
matrices. Fortunately due to all the hidden structure, the global cost
of computing all these generators is
. Not all the details of
the computational aspects are given as it often involves
straightforward computations. The software is available in MATLAB, and
can be downloaded from the first author's site. The following list gives a
brief overview of the consecutive steps which will be followed to
compute the diagonal and the vector
. After each item the number of involved
operations is shown, indicating the low cost of computing the
generators of the quasiseparable matrix. Following this list we
provide more detailed comments on the computations.
Let us start by computing the generators of the inverse of
. The
matrix
is lower bidiagonal, hence its inverse is a lower
semiseparable matrix. Therefore, this matrix can be represented by a
Givens-vector representation. We do already have the Givens
transformations for the representation, of the matrix
, namely
. As the diagonal elements of
are the
inverses of the diagonal elements of
, one has as generators the
Givens from above and as vector elements the following vector:
![]() |
Following the computation of the inverse we compute the matrix
. With similar techniques as discussed in the proof one can see that this matrix is an upper
Hessenberg matrix, for which the strictly upper triangular part is of
quasiseparable form. In fact one can compute by simple matrix
multiplication the diagonal and subdiagonal elements of the matrix
. The computation of the generators of the upper triangular
part is also rather straightforward. The Givens transformations are
exactly the same as the one used above, only one less:
. The vector of the representation of this
upper triangular part can be obtained by computing the
superdiagonal elements of the matrix
and dividing them by
the corresponding cosines of the Givens transformations.
Finally, we need to compute the diagonal and strictly lower triangular
representation of the quasiseparable matrix
. Even though it seems
that we will obtain a dense matrix the multiplication between the
lower semiseparable matrix
and the strictly upper triangular
part of
, which is of quasiseparable form, can be done in
operations. Writing down
the lower semiseparable matrix, and the strictly upper triangular part
of the matrix
as in Equation 1, one can
easily deduce a simple loop which computes the subdiagonal elements of
the new quasiseparable matrix. Based on these subdiagonal elements and
on the fact that the cosines of the Givens transformations are different
from zero, one can easily obtain the generators of the strictly lower
triangular part.
Summarizing, the complexity of computing the Cholesky decomposition of
the positive definite tridiagonal matrix takes
operations. Computing the generators of the quasiseparable matrix
takes
operations. Hence the total cost for computing the
representation of the quasiseparable matrix is
operations.
Traditionally, one assumed that the approach of computing the
eigenvalues via
, was too expensive because the
reduction to tridiagonal form of a dense matrix already took
operations. This reduction was essential, before being able to compute the
spectrum in
operations, via for example a divide and conquer
technique or a
-algorithm. Using the method presented above
however, we see that it takes
operations to obtain the
representation of the quasiseparable matrix. For this quasiseparable
matrix there exist techniques
for computing the whole
spectrum. In the next section we will briefly discuss this methods.
Raphael Vandebril 2007-07-17