Click or drag to resize

QRDecomposition Class

Represents a QR decomposition of a matrix.
Inheritance Hierarchy
SystemObject
  Meta.Numerics.MatricesQRDecomposition

Namespace:  Meta.Numerics.Matrices
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public sealed class QRDecomposition

The QRDecomposition type exposes the following members.

Properties
  NameDescription
Public propertyColumnCount
Gets the number of columns in the original matrix.
Public propertyQMatrix
The orthogonal matrix Q.
Public propertyRMatrix
The upper-right triangular matrix R.
Public propertyRowCount
Get the number of rows in the original matrix.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSolve
Solve the system A x = b.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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.

See Also