Solves the system of linear equations for the specified
right-hand side Matrix.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Solve ( _ rightHandSide As Matrix _ ) As GeneralMatrix |
| C# |
|---|
public GeneralMatrix Solve ( Matrix rightHandSide ) |
| C++ |
|---|
public: GeneralMatrix^ Solve ( Matrix^ rightHandSide ) |
Parameters
- rightHandSide (Extreme.Mathematics.LinearAlgebra.Matrix)
- A Matrix.
Return Value
A GeneralMatrix containing the solution of the system of simultaneous linear equations.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | rightHandSide is nullNothingnullptr. |
| DimensionMismatchException | The
length of rightHandSide does not equal the
number of rows of the matrix underlying
this system of equations.
-or- The Matrix is not square. |
| MatrixSingularException | The Matrix underlying this system of equations is singular and does not have an inverse. |
| DimensionMismatchException |