QRDecomposition Command

CAS Syntax

QRDecomposition( <Matrix> )

Calculates the QR decomposition of the given matrix.

QRDecomposition({{1,2},{3,4}}) returns the matrices \(\begin{pmatrix}1/\sqrt{10}&3/5/\sqrt{10}/5\\3/\sqrt{10}&1/5/\sqrt{10}/5\end{pmatrix}\) and \(\begin{pmatrix}\sqrt{10}&7/5\sqrt{10}\\0&\sqrt{10}/5\end{pmatrix}\).

See also LUDecomposition command.