QRDecomposition Command
CAS Syntax
- QRDecomposition( <Matrix> )
-
Calculates the QR decomposition of the given matrix.
QRDecomposition({{1,2},{3,4}})
returns the matrices
\(\begin{pmatrix}\frac{1}{\sqrt{10}}&\frac{3/5}{\sqrt{10}/5}\\\frac{3}{\sqrt{10}}&-\frac{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. |