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