SparseCreatePreconditioner(_:_:)
Create a preconditioner for the given matrix of complex float values.
Declaration
func SparseCreatePreconditioner(_ type: SparsePreconditioner_t, _ A: SparseMatrix_Complex_Float) -> SparseOpaquePreconditioner_Complex_FloatParameters
- 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.