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 *workspaceRequiredPerRHSwherenrhsis the number of right-hand-side vectors.