QRDecomposition.Solve Method

DotNetMatrix

An NDoc Documented Class Library

QRDecomposition.Solve Method 

Least squares solution of A*X = B

[Visual Basic]Overridable Public Function Solve( _
   ByVal B As GeneralMatrix _
) As GeneralMatrix
[C#]
public virtual GeneralMatrix Solve(
   GeneralMatrix B
);

Parameters

B
A Matrix with as many rows as A and any number of columns.

Return Value

X that minimizes the two norm of Q*R*X-B.

Exceptions

Exception Type Condition
ArgumentException Matrix row dimensions must agree.
SystemException Matrix is rank deficient.

See Also

QRDecomposition Class | DotNetMatrix Namespace