Click or drag to resize

FloatComplexTriDiagFactSolve Method (FloatComplexMatrix)

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

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
public FloatComplexMatrix Solve(
	FloatComplexMatrix B
)

Parameters

B
Type: CenterSpace.NMath.CoreFloatComplexMatrix
The matrix of right hand sides. B must have the same number of rows as the factored matrix.

Return Value

Type: FloatComplexMatrix
A matrix with the same number of columns as B containing the solutions.
Exceptions
ExceptionCondition
SingularMatrixExceptionThrown if the factored matrix is singular.
MismatchedSizeExceptionThrown if the number of rows in B is different than the number of rows in the factored matrix.
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