| NMathFunctionsSolve(DoubleCsrSparseMatrix, DoubleMatrix) Method |
Solves the linear system AX = B.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleMatrix Solve(
DoubleCsrSparseMatrix A,
DoubleMatrix B
)
Public Shared Function Solve (
A As DoubleCsrSparseMatrix,
B As DoubleMatrix
) As DoubleMatrix
public:
static DoubleMatrix^ Solve(
DoubleCsrSparseMatrix^ A,
DoubleMatrix^ B
)
static member Solve :
A : DoubleCsrSparseMatrix *
B : DoubleMatrix -> DoubleMatrix
Parameters
- A DoubleCsrSparseMatrix
- A CSR Sparse matrix.
- B DoubleMatrix
- The matrix of right hand sides. B must have the
same number of rows as A.
Return Value
DoubleMatrixA matrix with the same number of columns as
B containing
the solutions.
Exceptions Remarks
The ith column of X, X(i), is
the solution to the equation AX(i) = B(i), where
B(i) is the ith column of B.
See Also