IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Old.QRDecompositionOld Class Reference
+ Collaboration diagram for IG.Old.QRDecompositionOld:

Public Member Functions

 QRDecompositionOld (MatrixWithMathNet A)
 Constructs QR Decomposition, computed by Householder reflections. More...
 
MatrixWithMathNet Solve (MatrixWithMathNet B)
 Least squares solution of A*X = B. More...
 
Vector Solve (VectorWithMathNet b)
 Least squares solution of A*x=s. More...
 

Properties

bool IsFullRank [get]
 Indicates whether the matrix is full rank. More...
 
Matrix H [get]
 Gets the Householder vectors. More...
 
Matrix R [get]
 Gets the upper triangular factor. More...
 
Matrix Q [get]
 Gets the (economy-sized) orthogonal factor. More...
 

Private Attributes

int _columnCount = 0
 

Constructor & Destructor Documentation

IG.Old.QRDecompositionOld.QRDecompositionOld ( MatrixWithMathNet  A)
inline

Constructs QR Decomposition, computed by Householder reflections.

Provides access to R, the Householder vectors and computes Q.

Parameters
ARectangular matrixwhose decomposition is computed and stored.

References IG.Num.Matrix.ColumnCount, IG.Old.MatrixWithMathNet.CopyMathNet, and IG.Num.Matrix.RowCount.

Member Function Documentation

MatrixWithMathNet IG.Old.QRDecompositionOld.Solve ( MatrixWithMathNet  B)
inline

Least squares solution of A*X = B.

Parameters
BA Matrix with as many rows as A and any number of columns.
Returns
X that minimizes the two norm of Q*R*X-B.
Exceptions
System.ArgumentExceptionMatrix row dimensions must agree.
System.SystemExceptionMatrix is rank deficient.

References IG.Old.MatrixWithMathNet.CopyMathNet.

Vector IG.Old.QRDecompositionOld.Solve ( VectorWithMathNet  b)
inline

Least squares solution of A*x=s.

Parameters
sRight-hand side vector with as many elements as decomposed matrix A has rows.
Returns
x that minimizes the two norm of Q*R*x-s.

References IG.Num.Vector.Length, and IG.Num.Matrix.RowCount.

Member Data Documentation

int IG.Old.QRDecompositionOld._columnCount = 0
private

Property Documentation

bool IG.Old.QRDecompositionOld.IsFullRank
get

Indicates whether the matrix is full rank.

Returns
true if R, and hence A, has full rank.
Matrix IG.Old.QRDecompositionOld.H
get

Gets the Householder vectors.

Returns
Lower trapezoidal matrix whose columns define the reflections.
Matrix IG.Old.QRDecompositionOld.R
get

Gets the upper triangular factor.

Matrix IG.Old.QRDecompositionOld.Q
get

Gets the (economy-sized) orthogonal factor.


The documentation for this class was generated from the following file: