| NMathFunctionsSolve(FloatSymBandMatrix, 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(
FloatSymBandMatrix A,
FloatMatrix B,
bool isPositiveDefinite
)
Public Shared Function Solve (
A As FloatSymBandMatrix,
B As FloatMatrix,
isPositiveDefinite As Boolean
) As FloatMatrix
public:
static FloatMatrix^ Solve(
FloatSymBandMatrix^ A,
FloatMatrix^ B,
bool isPositiveDefinite
)
static member Solve :
A : FloatSymBandMatrix *
B : FloatMatrix *
isPositiveDefinite : bool -> FloatMatrix
Parameters
- A FloatSymBandMatrix
- A symmetric, banded matrix.
- B FloatMatrix
- The matrix of right hand sides. B must have the
same number of rows as A.
- isPositiveDefinite Boolean
- true if A is positive
definite. false otherwise.
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