QRDecomposition

QRDecomposition[m]
yields the QR decomposition for a numerical matrix m. The result is a list , where q is an orthogonal matrix and r is an uppertriangular matrix.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Compute the QR decomposition for a 3×2 matrix with exact values:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Compute the QR decomposition for a 2×3 matrix with approximate numerical values:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 1991
(2.0)