| NMathFunctionsSolve(FloatTriDiagMatrix, 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(
FloatTriDiagMatrix A,
FloatVector b,
bool isSymmetricPD
)
Public Shared Function Solve (
A As FloatTriDiagMatrix,
b As FloatVector,
isSymmetricPD As Boolean
) As FloatVector
public:
static FloatVector^ Solve(
FloatTriDiagMatrix^ A,
FloatVector^ b,
bool isSymmetricPD
)
static member Solve :
A : FloatTriDiagMatrix *
b : FloatVector *
isSymmetricPD : bool -> FloatVector
Parameters
- A FloatTriDiagMatrix
- A tridiagonal matrix.
- b FloatVector
- Vector to solve for. Must have a length equal to the
number of rows in A.
- isSymmetricPD Boolean
- true if A is symmetric and
positive definite.
Return Value
FloatVectorA vector
x that is the solution to
Ax = b.
Exceptions See Also