Contents

SparseSolve(_:_:_:)

Solve the equation Subfactor * x = b for the vector x of complex double values, in place.

Declaration

func SparseSolve(_ Subfactor: SparseOpaqueSubfactor_Complex_Double, _ XB: DenseVector_Complex_Double, _ 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 by malloc() has this property).

See Also

Complex direct solving functions