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