SparseSolve(_:_:_:)
Solve the equation Subfactor * x = b for the vector x of complex float values, in place.
Declaration
func SparseSolve(_ Subfactor: SparseOpaqueSubfactor_Complex_Float, _ XB: DenseVector_Complex_Float, _ workspace: UnsafeMutableRawPointer)Parameters
- Subfactor:
(Input) The subfactor to solve a system involving, as returned by
SparseCreateSubfactor(). - workspace:
(Scratch) A workspace of size
Subfactor.workspaceRequiredStatic + 1*Subfactor.workspaceRequiredPerRHS * 2. This memory must be 16-byte aligned (any allocation returned bymalloc()has this property).