Initializer

init(attributes:contents:factor:workspaceRequiredStatic:workspaceRequiredPerRHS:)

Creates an opaque object representing a subfactor of the specified factorization.

Declaration

init(attributes: SparseAttributes_t, contents: SparseSubfactor_t, factor: SparseOpaqueFactorization_Double, workspaceRequiredStatic: Int, workspaceRequiredPerRHS: Int)

Parameters

attributes

The attributes of the subfactor.

contents

The subfactor this object represents, for example, L from LDL.

factor

The source factorization.

workspaceRequiredStatic

Required size of the static workspace, in bytes, required to perform a solve or multiply operation.

workspaceRequiredPerRHS

Required size of the per-right-hand-side workspace, in bytes, required to perform a solve or multiply operation.

Return Value

A new subfactor object.