Contents

SparseMultiply(_:_:_:)

Performs the multiply operation Y = Subfactor * X on a vector of double-precision values X, in place and without any internal memory allocations.

Declaration

func SparseMultiply(_ Subfactor: SparseOpaqueSubfactor_Double, _ XY: DenseVector_Double, _ workspace: UnsafeMutableRawPointer)

Parameters

  • Subfactor:

    The subfactor to multiply by, which Sparsecreatesubfactor(_:_:) 49d8w returns.

  • XY:

    On input, the vector Y. On return, the vector Y overwrites it.

  • workspace:

    A workspace of size workspaceRequiredStatic + workspaceRequiredPerRHS.

See Also

Subfactor and dense vector multiplication with user-defined workspace