function [s]=svdss(A)
[n,m]=size(A);
S=triuSS(A);
% starting the main loop for
% finding all the singular values
while not found all the singular values
%for this loop calculate kappa
% using the Wilkonsonshift
kappa=calculatekappa(S);
% swap the matrix to lower triangular
S=swapdown(S)
% calculate now the important Givens
% Transformation based on the kappa
Gimp=important givens(S,kappa)
% applying the special Givens transformation
S=S*Gimp;
% chase down the just created bulge
S=bulgechase(S);
% swap the matrix to an upper triangular
S=swapup(S);
% now extract the singular values
if a singular value is well approximated
cut it off and continue working
with the reduced matrix
end
end