SparseCreatePreconditioner(_:_:)
Creates a preconditioner for the specified matrix of double-precision values.
Declaration
func SparseCreatePreconditioner(_ type: SparsePreconditioner_t, _ A: SparseMatrix_Double) -> SparseOpaquePreconditioner_DoubleParameters
- type:
The type of preconditioner to create.
- A:
The matrix to construct a preconditioner for.
Return Value
A SparseOpaquePreconditioner_Double structure. You must free the resource through a call to SparseCleanup(_:) after you finish with the object.