| NMathFunctionsSolve(DoubleSymBandMatrix, DoubleVector, Boolean) Method |
Solves the linear system Ax = b.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleVector Solve(
DoubleSymBandMatrix A,
DoubleVector b,
bool isPositiveDefinite
)
Public Shared Function Solve (
A As DoubleSymBandMatrix,
b As DoubleVector,
isPositiveDefinite As Boolean
) As DoubleVector
public:
static DoubleVector^ Solve(
DoubleSymBandMatrix^ A,
DoubleVector^ b,
bool isPositiveDefinite
)
static member Solve :
A : DoubleSymBandMatrix *
b : DoubleVector *
isPositiveDefinite : bool -> DoubleVector
Parameters
- A DoubleSymBandMatrix
- A symmetric, banded matrix.
- b DoubleVector
- 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
DoubleVectorA vector
x that is the solution to
Ax = b.
Exceptions See Also