DOCUMENTATION CENTER SEARCH
Mathematica
>
Matrix Decompositions
>
Built-in
Mathematica
Symbol
Advanced Matrix Operations
Tutorials »
|
SchurDecomposition
LUDecomposition
SingularValueDecomposition
JordanDecomposition
CholeskyDecomposition
Orthogonalize
See Also »
|
Matrices and Linear Algebra
Matrix-Based Minimization
Matrix Decompositions
More About »
QRDecomposition
QRDecomposition
[
m
]
yields the QR decomposition for a numerical matrix
m
. The result is a list
{
q
,
r
}
, where
q
is an orthogonal matrix and
r
is an upper-triangular matrix.
MORE INFORMATION
The original matrix
m
is equal to
Conjugate
[
Transpose
[
q
]].
r
.
»
For non-square matrices,
q
is row orthonormal.
»
The matrix
r
has zeros for all entries below the leading diagonal.
»
QRDecomposition
[
m
, Pivoting->
True
]
yields a list
{
q
,
r
,
p
}
where
p
is a permutation matrix such that
m
.
p
is equal to
Conjugate
[
Transpose
[
q
]].
r
.
»
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Compute the QR decomposition for a 3×2 matrix with exact values:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Compute the QR decomposition for a 2×3 matrix with approximate numerical values:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Scope
(2)
Options
(1)
Applications
(1)
Properties & Relations
(1)
SEE ALSO
SchurDecomposition
LUDecomposition
SingularValueDecomposition
JordanDecomposition
CholeskyDecomposition
Orthogonalize
TUTORIALS
Advanced Matrix Operations
RELATED LINKS
Implementation notes: Numerical and Related Functions
MORE ABOUT
Matrices and Linear Algebra
Matrix-Based Minimization
Matrix Decompositions
New in 2
© 2008 Wolfram Research, Inc.