SparseSolve(_:_:_:_:)
Solves the equation Subfactor * X = B for the vector of single-precision values X, without any internal memory allocations.
Declaration
func SparseSolve(_ Subfactor: SparseOpaqueSubfactor_Float, _ B: DenseVector_Float, _ X: DenseVector_Float, _ workspace: UnsafeMutableRawPointer)Parameters
- Subfactor:
The Subfactor in Subfactor * X = B that Sparsecreatesubfactor(_:_:) 49d8w returns.
- B:
The vector B.
- X:
The vector X.
- workspace:
A workspace of size
workspaceRequiredStatic+workspaceRequiredPerRHS.