SparseSolve(_:_:_:)
Solves the equation Subfactor * X = B in place for the matrix of double-precision values X, without any internal memory allocations.
Declaration
func SparseSolve(_ Subfactor: SparseOpaqueSubfactor_Double, _ XB: DenseMatrix_Double, _ workspace: UnsafeMutableRawPointer)Parameters
- Subfactor:
The Subfactor in Subfactor * X = B that Sparsecreatesubfactor(_:_:) 49d8w returns.
- XB:
On input, the matrix B. On return, the matrix X overwrites it.
- workspace:
A workspace of size
workspaceRequiredStatic+ nrhs *workspaceRequiredPerRHSwherenrhsis the number of right-hand-side vectors.