Contents

SparseMultiply(_:_:_:)

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

Declaration

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

Parameters

  • Subfactor:

    The subfactor to multiply by, which Sparsecreatesubfactor(_:_:) 4renf returns.

  • XY:

    On input, the matrix X. On return, the matrix Y overwrites it.

  • workspace:

    A workspace of size workspaceRequiredStatic + nrhs * workspaceRequiredPerRHS where nrhs is the number of right-hand-side vectors.

See Also

Subfactor and dense matrix multiplication with user-defined workspace