algorithm 2
Suppose we have the following function:
A=SymHous(A,k,m)
Which transforms

into

where

is the Householder
rotation such that

eliminates the elements in the row

from
position

to up to the element

. Using this function and the
function SymGiv from (
1) our algorithm looks like: (in
matlab style notation)
for j=n:-1:2
A=SymHous(A,j-2,j);
for i=j:1:n
A=SymGiv(A,i-1,i,i);
end
end