Click or drag to resize

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
Syntax
public void Solve(
	DoubleVector rhs,
	DoubleVector solution
)

Parameters

rhs
Type: CenterSpace.NMath.CoreDoubleVector
The right hand side to solve for.
solution
Type: CenterSpace.NMath.CoreDoubleVector
The solution.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown 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.
Remarks
One should check the ErrorStatus property before calling Solve to ensure the factorization is valid.
See Also