SparseSolve(_:_:_:_:)
Solves the equation Subfactor * X = B for the matrix of single-precision values X, without any internal memory allocations.
Declaration
func SparseSolve(_ Subfactor: SparseOpaqueSubfactor_Float, _ B: DenseMatrix_Float, _ X: DenseMatrix_Float, _ workspace: UnsafeMutableRawPointer)Parameters
- Subfactor:
The Subfactor in Subfactor * X = B that Sparsecreatesubfactor(_:_:) 4renf returns.
- B:
The matrix B.
- X:
The matrix X.
- workspace:
A workspace of size
workspaceRequiredStatic+ nrhs *workspaceRequiredPerRHSwherenrhsis the number of right-hand-side vectors.