| NMathFunctionsSolve(FloatComplexTriDiagMatrix, FloatComplexMatrix, Boolean) Method |
Solves the linear system AX = B.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatComplexMatrix Solve(
FloatComplexTriDiagMatrix A,
FloatComplexMatrix B,
bool isHermitianPD
)
Public Shared Function Solve (
A As FloatComplexTriDiagMatrix,
B As FloatComplexMatrix,
isHermitianPD As Boolean
) As FloatComplexMatrix
public:
static FloatComplexMatrix^ Solve(
FloatComplexTriDiagMatrix^ A,
FloatComplexMatrix^ B,
bool isHermitianPD
)
static member Solve :
A : FloatComplexTriDiagMatrix *
B : FloatComplexMatrix *
isHermitianPD : bool -> FloatComplexMatrix
Parameters
- A FloatComplexTriDiagMatrix
- A tridiagonal matrix.
- B FloatComplexMatrix
- The matrix of right hand sides. B must have the
same number of rows as A.
- isHermitianPD Boolean
- true if A is Hermitian and positive definite.
Return Value
FloatComplexMatrixA matrix with the same number of columns as
B containing
the solutions.
Exceptions 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