SparseMultiply(_:_:_:_:)
Perform the multiply operation Y = Subfactor * X for complex double values.
Declaration
func SparseMultiply(_ Subfactor: SparseOpaqueSubfactor_Complex_Double, _ X: DenseMatrix_Complex_Double, _ Y: DenseMatrix_Complex_Double, _ workspace: UnsafeMutableRawPointer)Parameters
- Subfactor:
(Input) The subfactor to multiply by, as returned by
SparseCreateSubfactor(). - X:
(Input) The right-hand side vectors
X. IfSubfactorism x n, thenXmust have dimensionn x nrhs, where nrhs is the number of right-hand side vectors. - Y:
(Output) The result vectors
Y. IfSubfactorism x n, andXism x nrhs, thenYmust have dimensionm x nrhs. - workspace:
(Scratch) A workspace of size
Subfactor.workspaceRequiredStatic + nrhs * Subfactor.workspaceRequiredPerRHS * 2. This memory must be 16-byte aligned (any allocation returned bymalloc()has this property).