| NMathFunctionsSolve(DoubleUpperTriMatrix, DoubleVector) Method |
Solves the linear system Ax = b.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleVector Solve(
DoubleUpperTriMatrix A,
DoubleVector b
)
Public Shared Function Solve (
A As DoubleUpperTriMatrix,
b As DoubleVector
) As DoubleVector
public:
static DoubleVector^ Solve(
DoubleUpperTriMatrix^ A,
DoubleVector^ b
)
static member Solve :
A : DoubleUpperTriMatrix *
b : DoubleVector -> DoubleVector
Parameters
- A DoubleUpperTriMatrix
- A upper triangular 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