Uses the current factorization to solve for the given right hand side.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DoubleVector Solve( DoubleVector rhs ) |
| Visual Basic (Declaration) |
|---|
Public Function Solve ( _ rhs As DoubleVector _ ) As DoubleVector |
| Visual C++ |
|---|
public: DoubleVector^ Solve( DoubleVector^ rhs ) |
Parameters
- rhs
- Type: CenterSpace.NMath.Core..::.DoubleVector
The right hand side to solve for.
Return Value
The solution if successful.
Remarks
One should check the ErrorStatus property before
calling Solve to ensure the factorization is valid.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if the length of rhs is not equal to the number of rows in the factored matrix. |