Click or drag to resize

FloatLUFactSolveInPlace(FloatMatrix) Method

Uses this LU factorization to solve the linear system AX = B.

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

Parameters

B  FloatMatrix
The matrix of right hand sides. B must have the same number of rows as the factored matrix. Solution is returned in B.
Exceptions
ExceptionCondition
MatrixNotSquareExceptionThrown if the factored matrix was not square.
SingularMatrixExceptionThrown if the factored matrix was singular.
MismatchedSizeExceptionThrown if the number of rows in 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.
Remarks
The ith column of X, X(i), is the solution to the equation AX(i) = B(i), where B(i) is the ith column of B.
See Also