Click or drag to resize

DoubleComplexLUFactSolve(DoubleComplexMatrix) Method

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

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
public DoubleComplexMatrix Solve(
	DoubleComplexMatrix B


B  DoubleComplexMatrix
The matrix of right hand sides. B must have the same number of rows as the factored matrix.

Return Value

A matrix with the same number of columns as B containing the solutions.
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.
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