| NMathFunctionsSolve(DoubleSymmetricMatrix, 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(
DoubleSymmetricMatrix A,
DoubleVector b,
bool isPositiveDefinite
)
Public Shared Function Solve (
A As DoubleSymmetricMatrix,
b As DoubleVector,
isPositiveDefinite As Boolean
) As DoubleVector
public:
static DoubleVector^ Solve(
DoubleSymmetricMatrix^ A,
DoubleVector^ b,
bool isPositiveDefinite
)
static member Solve :
A : DoubleSymmetricMatrix *
b : DoubleVector *
isPositiveDefinite : bool -> DoubleVector
Parameters
- A DoubleSymmetricMatrix
- A symmetric 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.
Return Value
DoubleVectorA vector
x that is the solution to
Ax = b.
Exceptions See Also