Abstract
The algorithms that are treated in this paper are based on the classical and the modified Gram-Schmidt algorithms. It is shown that Gram-Schmidt orthogonalization for constructing aQR factorization should be carried out iteratively to obtain a matrixQ that is orthogonal in almost full working precision. In the formulation of the algorithms, the parts that express manipulations with matrices or vectors are clearly identified to enable an optimal implementation of the algorithms on parallel and/or vector machines. An extensive error analysis is presented. It shows, for instance, that the iterative classical algorithm is not inferior to the iterative modified algorithm when full precision ofQ is required. Experiments are reported to support the outcomes of the analysis.
Zusammenfassung
In diesem Artikel werden verschiedene Varianten der klassischen und der modifizierten Gram-Schmidt-Methode präsentiert. Wir zeigen, daß man für die Konstruktion derQR-Zerlegung die Gram-Schmidt-Orthogonalisierung iterativ anwenden muß, falls man die MatrixQ ungefähr bis auf Maschinengenauigkeit orthogonal haben will. Die Algorithmen sind so formuliert, daß man alle Operationen mit Matrizen oder Vektoren deutlich identifizieren kann und eine Implementierung auf einem Parallel- oder Vektorcomputer keine Schwierigkeiten bietet. Eine ausführliche Fehleranalyse wird gegeben. Daraus folgt zum Beispiel, daß der iterative klassische Algorithmus nicht schlechter ist als der iterative modifizierte Algorithmus, wenn die MatrixQ so genau wie möglich orthogonal sein muß. Verschiedene Experimente auf einem Vektorcomputer werden beschrieben, welche die Resultate der Fehleranalyse bestätigen.
Similar content being viewed by others
References
Björck, A.: Solving linear least squares problems by Gram-Schmidt orthogonalization. BIT7, 1–21 (1967).
Businger, P., Golub, G. H.: Linear least squares solutions by Householder transformations. Numer. Math.1, 269–276 (1965).
Chan, T. F.: Rank revealingQR factorizations. Linear Algebra Appl.88/89, 67–82 (1987).
Daniel, J. W., Gragg, W. B., Kaufman, L., Stewart, G. W.: Reorthogonalization and stable algorithms for updating the Gram-SchmidtQR factorization. Math. Comp.30, 772–795 (1976).
Golub, G. H., van Loan, C. F.: Matrix Computations. Oxford: North Oxford Academic 1983.
Parlett, B. N.: The Symmetric Eigenvalue Problem. Englewood Cliffs, N. J.: Prentice-Hall 1980.
Ruhe, A.: Numerical aspects of Gram-Schmidt orthogonalization of vectors. Linear Algebra Appl.52/53, 591–601 (1983).
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Hoffmann, W. Iterative algorithms for Gram-Schmidt orthogonalization. Computing 41, 335–348 (1989). https://doi.org/10.1007/BF02241222
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF02241222