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