SparseCreatePreconditioner(_:_:)
Create a preconditioner for the given matrix of complex double values.
Declaration
func SparseCreatePreconditioner(_ type: SparsePreconditioner_t, _ A: SparseMatrix_Complex_Double) -> SparseOpaquePreconditioner_Complex_DoubleParameters
- type:
(Input) The type of preconditioner to create.
- A:
(Input) The matrix to construct a preconditioner for.
Return Value
The constructed preconditioner object. Resource must be freed through a call to SparseCleanup() once the user is finished with the preconditioner.