Contents

SparseMultiply(_:_:_:)

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

Declaration

func SparseMultiply(_ Subfactor: SparseOpaqueSubfactor_Float, _ XY: DenseVector_Float, _ workspace: UnsafeMutableRawPointer)

Parameters

  • Subfactor:

    The subfactor to multiply by, which Sparsecreatesubfactor(_:_:) 4renf 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