| DoubleSparseFactSolve(DoubleVector) Method |
Uses the current factorization to solve for the given right hand side.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleVector Solve(
DoubleVector rhs
)
Public Function Solve (
rhs As DoubleVector
) As DoubleVector
public:
DoubleVector^ Solve(
DoubleVector^ rhs
)
member Solve :
rhs : DoubleVector -> DoubleVector
Parameters
- rhs DoubleVector
- The right hand side to solve for.
Return Value
DoubleVectorThe solution if successful.
Exceptions Exception | Condition |
---|
MismatchedSizeException | Thrown if the length of
rhs is not equal to the number of rows in the factored matrix. |
Remarks One should check the ErrorStatus property before
calling Solve to ensure the factorization is valid.
See Also