SparseSolve(_:_:)
Solve the equation Subfactor * X = B for the matrix X of complex float values, in place.
Declaration
func SparseSolve(_ Subfactor: SparseOpaqueSubfactor_Complex_Float, _ XB: DenseMatrix_Complex_Float)Parameters
- Subfactor:
(Input) The subfactor to solve a system involving, as returned by
SparseCreateSubfactor(). - XB:
(Input/Output) On input, the matrix
B. On return it is overwritten with the matrixX. IfSubfactorism x n, thenXBmust have dimensionk x nrhs, wherek = max(m, n)andnrhsis the number of right-hand sides. Ifm != n, then only the firstmin(m,n)entries are used for input or output as approriate.