IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Represents a QR decomposition of a matrix. More...
Public Member Functions | |
SquareMatrix | QMatrix () |
The orthogonal matrix Q. More... | |
RectangularMatrix | RMatrix () |
The upper-right triangular matrix R. More... | |
ColumnVector | Solve (IList< double > rhs) |
Solve the system A x = b. More... | |
Properties | |
int | RowCount [get] |
Get the number of rows in the original matrix. More... | |
int | ColumnCount [get] |
Gets the number of columns in the original matrix. More... | |
Private Attributes | |
readonly double[] | qtStore |
readonly double[] | rStore |
readonly int | rows |
readonly int | cols |
Represents a QR decomposition of a matrix.
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 RectangularMatrix.QRDecomposition of the RectangularMatrix class can be used to QR decompose a rectangular matrix.
|
inline |
The orthogonal matrix Q.
Referenced by Test.RectangularMatrixTest.RectangularQRDecomposition().
|
inline |
The upper-right triangular matrix R.
The returned matrix is read-only. If you need to make changes to it, you can call RectangularMatrix.Copy to obtain a writable copy.
Referenced by Test.RectangularMatrixTest.RectangularQRDecomposition().
|
inline |
Solve the system A x = b.
rhs | The right-hand-side b. |
|
private |
|
private |
|
private |
|
private |
|
get |
Get the number of rows in the original matrix.
Referenced by Test.RectangularMatrixTest.RectangularQRDecomposition().
|
get |
Gets the number of columns in the original matrix.
Referenced by Test.RectangularMatrixTest.RectangularQRDecomposition().