Gram-Schmidt vs. Householder



Consider the Hilbert matrix

Find the QR decomposition of A using (1) the Gram-Schmidt algorithm and (2) the Householder algorithm. Comment on the results and the differences in accuracy and speed.