Click or drag to resize

NMathFunctionsSolve(FloatComplexTriDiagMatrix, FloatComplexVector, Boolean) Method

Solves the linear system Ax = b.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatComplexVector Solve(
	FloatComplexTriDiagMatrix A,
	FloatComplexVector b,
	bool isHermitianPD
)

Parameters

A  FloatComplexTriDiagMatrix
A tridiagonal matrix.
b  FloatComplexVector
Vector to solve for. Must have a length equal to the number of rows in A.
isHermitianPD  Boolean
true if A is Hermitian and positive definite.

Return Value

FloatComplexVector
A vector x that is the solution to Ax = b.
Exceptions
ExceptionCondition
SingularMatrixExceptionThrown if A is singular.
MismatchedSizeExceptionThrown if the length of b is different than the number of rows in A.
See Also