SparseMultiply(_:_:_:_:)
Performs the multiply operation Y = Subfactor * X on a dense matrix of single-precision values and without any internal memory allocations.
Declaration
func SparseMultiply(_ Subfactor: SparseOpaqueSubfactor_Float, _ X: DenseMatrix_Float, _ Y: DenseMatrix_Float, _ workspace: UnsafeMutableRawPointer)Parameters
- Subfactor:
The subfactor to multiply by, which Sparsecreatesubfactor(_:_:) 4renf returns.
- X:
The matrix X.
- Y:
The matrix Y.
- workspace:
A workspace of size
workspaceRequiredStatic+ nrhs *workspaceRequiredPerRHSwherenrhsis the number of right-hand-side vectors.