A structure that represents a double-precision preconditioner.
SDKs
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
- watchOS 4.0+
Framework
- Accelerate
Declaration
struct SparseOpaquePreconditioner_Double
A structure that represents a double-precision preconditioner.
SDKs
Framework
struct SparseOpaquePreconditioner_Double
init(type: Sparse Preconditioner _t, mem: Unsafe Mutable Raw Pointer, apply: (Unsafe Mutable Raw Pointer, CBLAS _TRANSPOSE, Dense Matrix _Double, Dense Matrix _Double) -> Void)
Creates a new double-precision preconditioner.
var apply: (Unsafe Mutable Raw Pointer, CBLAS _TRANSPOSE, Dense Matrix _Double, Dense Matrix _Double) -> Void
A function that should calculate Y = PX, where P is the preconditioner.
var mem: Unsafe Mutable Raw Pointer
The unaltered pointer mem
passed as the first parameter of the apply
function.
var type: Sparse Preconditioner _t
The preconditioner type.
func Sparse Create Preconditioner(Sparse Preconditioner _t, Sparse Matrix _Double) -> Sparse Opaque Preconditioner _Double
Creates a preconditioner that can be applied quickly to the given matrix of double-precision values.
func Sparse Create Preconditioner(Sparse Preconditioner _t, Sparse Matrix _Float) -> Sparse Opaque Preconditioner _Float
Creates a preconditioner that can be applied quickly to the given matrix of single-precision values.
struct Sparse Opaque Preconditioner _Float
A structure that represents a single-precision preconditioner.