Before starting to construct an algorithm that transforms an arbitrary symmetric matrix into a diagonal-plus-semiseparable one, we introduce some definitions and notation.
This kind of structure can be embedded in a lager one, more precisely:
With
we denote a matrix with semiseparable structure of dimension
.
denotes an arbitrary element of a matrix,
an
element which we will annihilate,
a changed element and
elements denoted with a
around it, belong to the
semiseparable structure.
A Givens transformation working on the
th and
th row of
a matrix, in order to annihilate an element on the
th row, is
denoted by
:
The algorithm proposed in this section will add at each step one
row and column to the semiseparable structure of a matrix
which will
become the semiseparable part
of the requested diagonal-plus-semiseparable matrix and
will add at each step one diagonal element to a matrix
which will become the requested diagonal part
.
During each step, we will construct two sequences of matrices
and
for
. The matrix
we start with, is one with semiseparable structure of dimension
. Next
the aim is to annihilate the elements of each row which belong to
the semiseparable structure, starting from the first down to the
last row by means of Givens transformations
. When
applying the transpose of these Givens transformations a new semiseparable structure
is built but of dimension
.
For the sequence of diagonal matrices
, we want it
to change into the same diagonal as the matrix
, we
started that step with, but with the elements shifted one place up
to the left-upper corner and with
added as last diagonal
element.
In order to achieve this form of diagonal matrix, during the whole
algorithm we will switch between
and
which are, as a
sum, equal to each other. The reason for this is that we want the
diagonal part to remain unchanged under the application of a
Givens transformation
and its transpose
. Therefore, the
th and
th diagonal elements
of the diagonal part must be equal. This will be achieved by
changing the
th element of
and this adapted
diagonal matrix is denoted by
. Now, also the
th element of
must be changed in order the
keep the same
matrix and this adapted part is denoted by
. Hence,
Also important to note is that the elements belonging to the rank
one structure of
will be the same as the ones
belonging to the rank one structure in
.