Overview
QR decomposition is useful for least-squares problems, eigenvalue methods, and numerically stable linear algebra workflows.
Factors a matrix into an orthogonal matrix and an upper triangular matrix.
Compact metadata for implementation and discovery.
QR decomposition is useful for least-squares problems, eigenvalue methods, and numerically stable linear algebra workflows.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n^3)
Average
O(n^3)
Worst
O(n^3)
Space
O(n^2)
A = Q RDecomposes a matrix into an orthogonal matrix and an upper triangular matrix.
Show the numeric approximation improving against the target function, matrix, or state.
QR decomposition is commonly preferred over normal equations for numerically safer least-squares solving.
What each reference supports for this entry.
Reference text for numerical linear algebra, matrix factorizations, SVD, and eigenvalue methods.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
QR iteration is a classic path to eigenvalue computation.
QR decomposition is often preferred for least-squares and numerical stability.