Instance Property

order

User-supplied array for ordering.

Declaration

Discussion

This property may be either null or a pointer to a row permutation that reduces fill in the matrix being factored.

If orderMethod is SparseOrderUser, and this pointer is null, the original matrix ordering is used.

If orderMethod is SparseOrderUser, and this pointer is nonnull, the user-provided permutation is used to order the matrix before factorization.

If orderMethod is not SparseOrderUser, the factor function computes its own fill-reducing ordering.

If this pointer is nonnull, the computed permutation is returned in the array.

See Also

Inspecting Symbolic Factor Options

var control: SparseControl_t

Flags controlling the computation.

struct SparseControl_t

Options that control the computation.

var reportError: ((UnsafePointer<Int8>) -> Void)?

Function to use to report parameter errors.

var orderMethod: SparseOrder_t

Ordering algorithm to use.

struct SparseOrder_t

Options that define which ordering algorithm to use.

var malloc: (Int) -> UnsafeMutableRawPointer?

Function to use to allocate any storage needed.

var free: (UnsafeMutableRawPointer?) -> Void

Function to use to free allocated storage.

var ignoreRowsAndColumns: UnsafeMutablePointer<Int32>?

An array containing row and column indices to ignore.