Click or drag to resize

DoubleLUFactSolveInPlace(DoubleVector) Method

Uses the LU factorization of self to solve the linear system Ax = b.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public void SolveInPlace(
	DoubleVector b
)

Parameters

b  DoubleVector
Vector to solve for. Must have a length equal to the number of rows in the factored matrix.

Return Value

A vector x that is the solution to Ax = b.
Exceptions
ExceptionCondition
MatrixNotSquareExceptionThrown if the factored matrix was not square.
SingularMatrixExceptionThrown if the factored matrix was singular.
MismatchedSizeExceptionThrown if the length of b is different than the number of rows in the factored matrix.
InvalidArgumentException b must have unit stride. If it doesn't, use regular Solve method or call DeepenThisCopy() on it.
See Also