algorithm 1
Suppose we have the following function:
A=SymGiv(A,k,l,m)
Which transforms

into

where

is the Givens rotation
sucht that

eliminates the element in position

with the
element

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