SparseMultiply(_:_:)
Perform the multiply operation Y = Subfactor * X in place for complex double values.
Declaration
func SparseMultiply(_ Subfactor: SparseOpaqueSubfactor_Complex_Double, _ XY: DenseMatrix_Complex_Double)Parameters
- Subfactor:
(Input) The subfactor to multiply by, as returned by
SparseCreateSubfactor(). - XY:
(Input/Output) On input, the matrix
X. On return it is overwritten with the matrixY. IfSubfactorism x n, thenXBmust have dimensionk x nrhs, wherek = max(m, n)andnrhsis the number of right-hand side vectors. Ifm != n, then only the firstmin(m,n)entries are used for input or output as approriate.