QRDecomposition Class |
Namespace: Meta.Numerics.Matrices
The QRDecomposition type exposes the following members.
Name | Description | |
---|---|---|
ColumnCount |
Gets the number of columns in the original matrix.
| |
QMatrix |
The orthogonal matrix Q.
| |
RMatrix |
The upper-right triangular matrix R.
| |
RowCount |
Get the number of rows in the original matrix.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Solve |
Solve the system A x = b.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
A QR decomposition represents a rectangular matrix as the product of a square, orthogonal matrix Q and a rectangular, right-upper-triangular matrix R. For example:
The method QRDecomposition of the RectangularMatrix class can be used to QR decompose a rectangular matrix.
Note that this method produces the full QR decomposition, i.e. QMatrix is a square, orthogonal M X M matrix and RMatrix is a rectangular M X N matrix. In the reduced QR decomposition, which can also be used to solve linear systems, Q is a rectangular M X N matrix and R is a square N X N matrix.