QRdecomposition
QR decomposition, also known as QR factorization, is a matrix factorization in which a given matrix A is expressed as a product A = Q R. Here Q is an orthogonal (real) or unitary (complex) matrix, and R is an upper triangular matrix. For real matrices, orthogonality means Q^T Q = I and, for complex matrices, Q^H Q = I.
If A is m × n with m ≥ n and full column rank, a reduced QR decomposition
Common algorithms to compute QR decompositions include the Gram–Schmidt process (classical and modified for numerical stability),
Applications of QR decomposition are widespread. It is used to solve linear least squares problems by reducing
See also: Gram–Schmidt process, Householder reflection, Givens rotation, QR algorithm.