 | FloatComplexSparseFactSolve Method (FloatComplexMatrix) |
Uses the current factorization to solve for several right hand sides.
Namespace:
CenterSpace.NMath.Core
Assembly:
NMath (in NMath.dll) Version: 7.4
Syntaxpublic FloatComplexMatrix Solve(
FloatComplexMatrix rhs
)
Public Function Solve (
rhs As FloatComplexMatrix
) As FloatComplexMatrix
public:
FloatComplexMatrix^ Solve(
FloatComplexMatrix^ rhs
)
member Solve :
rhs : FloatComplexMatrix -> FloatComplexMatrix
Parameters
- rhs
- Type: CenterSpace.NMath.CoreFloatComplexMatrix
The right hand sides to solve for. Each right hand
side is a column in the matrix.
Return Value
Type:
FloatComplexMatrixThe solutions as a matrix if successful. The ith column of
returned matrix is the solution with the right hand side equal to the
ith column of the input
rhs matrix.
ExceptionsException | Condition |
---|
MismatchedSizeException | Thrown if the number of rows in
rhs is not equal to the number of rows in the factored matrix. |
RemarksOne should check the ErrorStatus property before
calling Solve to ensure the factorization is valid.
See Also