| NMathFunctionsSolve(FloatSymBandMatrix, FloatVector, Boolean) Method |
Solves the linear system Ax = b.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatVector Solve(
FloatSymBandMatrix A,
FloatVector b,
bool isPositiveDefinite
)
Public Shared Function Solve (
A As FloatSymBandMatrix,
b As FloatVector,
isPositiveDefinite As Boolean
) As FloatVector
public:
static FloatVector^ Solve(
FloatSymBandMatrix^ A,
FloatVector^ b,
bool isPositiveDefinite
)
static member Solve :
A : FloatSymBandMatrix *
b : FloatVector *
isPositiveDefinite : bool -> FloatVector
Parameters
- A FloatSymBandMatrix
- A symmetric, banded matrix.
- b FloatVector
- Vector to solve for. Must have a length equal to the
number of rows in A.
- isPositiveDefinite Boolean
- true if A is positive
definite. false otherwise.
Return Value
FloatVectorA vector
x that is the solution to
Ax = b.
Exceptions See Also