QRdekompositio
QRdekompositio, or QR-decomposition, is a matrix factorization that expresses an m-by-n matrix A as A = Q R, where Q is an orthogonal (or unitary in the complex case) matrix and R is an upper triangular (or upper trapezoidal) matrix. If n ≤ m, R is upper triangular; if n > m, R is upper trapezoidal. In practice, an economy-size version uses Q with fewer columns and a correspondingly smaller R.
This factorization provides an orthogonal basis for the column space of A and isolates the rank information
QR can be computed by several methods, each with different numerical properties. Gram–Schmidt provides a simple
Key properties include Q^T Q = I (or Q^* Q = I in the complex case) and the fact