Contents

SparseMultiply(_:_:_:_:)

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

Declaration

func SparseMultiply(_ Subfactor: SparseOpaqueSubfactor_Double, _ X: DenseMatrix_Double, _ Y: DenseMatrix_Double, _ workspace: UnsafeMutableRawPointer)

Parameters

  • Subfactor:

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

  • X:

    The matrix X.

  • Y:

    The matrix Y.

  • 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