 | DoubleSparseFactSolve Method (DoubleVector, DoubleVector) |
Uses the current factorization to solve for the given right hand side
and places the result in the provided vector.
Namespace:
CenterSpace.NMath.Core
Assembly:
NMath (in NMath.dll) Version: 7.4
Syntaxpublic void Solve(
DoubleVector rhs,
DoubleVector solution
)
Public Sub Solve (
rhs As DoubleVector,
solution As DoubleVector
)
public:
void Solve(
DoubleVector^ rhs,
DoubleVector^ solution
)
member Solve :
rhs : DoubleVector *
solution : DoubleVector -> unit
Parameters
- rhs
- Type: CenterSpace.NMath.CoreDoubleVector
The right hand side to solve for. - solution
- Type: CenterSpace.NMath.CoreDoubleVector
The solution.
ExceptionsException | Condition |
---|
MismatchedSizeException | Thrown if the length of
rhs is not equal to the number of rows in the factored matrix,
or if provided solution vectors length is not equal to the numver of
columns in the factored matrix. |
RemarksOne should check the ErrorStatus property before
calling Solve to ensure the factorization is valid.
See Also