Numerical methods for computing angles between linear subspaces
- 1 January 1973
- journal article
- Published by American Mathematical Society (AMS) in Mathematics of Computation
- Vol. 27 (123) , 579-594
- https://doi.org/10.1090/s0025-5718-1973-0348991-3
Abstract
Assume that two subspaces F and G of a unitary space are defined as the ranges (or null spaces) of given rectangular matrices A and B. Accurate numerical methods are developed for computing the principal angles θ k ( F , G ) {\theta _k}(F,G) and orthogonal sets of principal vectors u k ∈ F {u_k} \in F and v k ∈ G , k = 1 , 2 , ⋯ , q = dim ( G ) ≦ dim ( F ) {v_k} \in G,k = 1,2, \cdots ,q = \dim (G) \leqq \dim (F) . An important application in statistics is computing the canonical correlations σ k = cos θ k {\sigma _k} = \cos {\theta _k} between two sets of variates. A perturbation analysis shows that the condition number for θ k {\theta _k} essentially is max ( κ ( A ) , κ ( B ) ) \max (\kappa (A),\kappa (B)) , where κ \kappa denotes the condition number of a matrix. The algorithms are based on a preliminary QR-factorization of A and B (or A H {A^H} and B H {B^H} ), for which either the method of Householder transformations (HT) or the modified Gram-Schmidt method (MGS) is used. Then cos θ k \cos \;{\theta _k} and sin θ k \sin \;{\theta _k} are computed as the singular values of certain related matrices. Experimental results are given, which indicates that MGS gives θ k {\theta _k} with equal precision and fewer arithmetic operations than HT. However, HT gives principal vectors, which are orthogonal to working accuracy, which is not generally true for MGS. Finally, the case when A and/or B are rank deficient is discussed.Keywords
This publication has 18 references indexed in Scilit:
- An Iterative Algorithm for Computing the Best Estimate of an Orthogonal MatrixSIAM Journal on Numerical Analysis, 1971
- Computing Invariant Subspaces of a General Matrix when the Eigensystem is Poorly ConditionedMathematics of Computation, 1970
- Extensions and Applications of the Householder Algorithm for Solving Linear Least Squares ProblemsMathematics of Computation, 1969
- Comparison of the Method of Averages with the Method of Least SquaresMathematics of Computation, 1968
- Iterative refinement of linear least squares solutions IIBIT Numerical Mathematics, 1968
- Comparison of the method of averages with the method of least squares.Mathematics of Computation, 1968
- Solving linear least squares problems by Gram-Schmidt orthogonalizationBIT Numerical Mathematics, 1967
- Orthogonal and oblique projectors and the characteristics of pairs of vector spacesMathematical Proceedings of the Cambridge Philosophical Society, 1957
- A principal axis transformation for non-hermitian matricesBulletin of the American Mathematical Society, 1939
- RELATIONS BETWEEN TWO SETS OF VARIATESBiometrika, 1936