Structure

SparseOpaquePreconditioner_Double

A structure that represents a double-precision preconditioner.

Declaration

struct SparseOpaquePreconditioner_Double

Topics

Inspecting Preconditioner Properties

var apply: (UnsafeMutableRawPointer, CBLAS_TRANSPOSE, DenseMatrix_Double, DenseMatrix_Double) -> Void

A function that should calculate Y = PX, where P is the preconditioner.

var mem: UnsafeMutableRawPointer

The unaltered pointer mem passed as the first parameter of the apply function.

var type: SparsePreconditioner_t

The preconditioner type.

See Also

Preconditioners

func SparseCreatePreconditioner(SparsePreconditioner_t, SparseMatrix_Double) -> SparseOpaquePreconditioner_Double

Creates a preconditioner that can be applied quickly to the given matrix of double-precision values.

func SparseCreatePreconditioner(SparsePreconditioner_t, SparseMatrix_Float) -> SparseOpaquePreconditioner_Float

Creates a preconditioner that can be applied quickly to the given matrix of single-precision values.

struct SparseOpaquePreconditioner_Float

A structure that represents a single-precision preconditioner.