Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace > QRDecomposition Class > Methods > QRDecomposition.Solve Method
Solves the system of simultaneous linear equations for the specified right-hand side Vector.
A GeneralVector containing the solution of the system of simultaneous linear equations.
The length of rightHandSide must equal the number of rows in the Matrix.
If the matrix is singular, a solution may not exist. In this case, a MatrixSingularException is thrown.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | rightHandSide is a null reference (Nothing in Visual Basic). |
| DimensionMismatchException | The
length of rightHandSide does not equal
the number of rows in the matrix.
-or- The matrix is not square. |
| MatrixSingularException | The matrix underlying the system of simultaneous linear equations is singular. A solution could not be found. |
QRDecomposition Class | Extreme.Mathematics.LinearAlgebra Namespace | QRDecomposition.Solve Overload List | LinearTransformation