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 DoubleComplexVector Solve( DoubleComplexVector rhs ) |
| Visual Basic (Declaration) |
|---|
Public Function Solve ( _ rhs As DoubleComplexVector _ ) As DoubleComplexVector |
| Visual C++ |
|---|
public: DoubleComplexVector^ Solve( DoubleComplexVector^ rhs ) |
Parameters
- rhs
- Type: CenterSpace.NMath.Core..::.DoubleComplexVector
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. |