QR decomposition - Rosetta Code
Any rectangular matrix A can be decomposed to a product of an orthogonal matrix Q and an upper (right) triangular matrix R, as described in QR decomposition. Task Demonstrate the QR decomposition on the example matrix from the Wikipedia article: and the ....