SparseSolve(_:_:_:_:_:)
Solve Ax=b using the specified iterative method for complex float values.
Declaration
func SparseSolve(_ method: SparseIterativeMethod, _ A: SparseMatrix_Complex_Float, _ b: DenseVector_Complex_Float, _ x: DenseVector_Complex_Float, _ Preconditioner: SparseOpaquePreconditioner_Complex_Float) -> SparseIterativeStatus_tParameters
- method:
(Input) Iterative method specification, eg return value of
SparseConjugateGradient(). - A:
(Input) The matrix
Ato solve the system for. Only used for multiplication byAorA^T. - b:
The right-hand side b to solve for. If
Ahas dimensionm x n, thenbmust have lengthm. - x:
On entry, initial guess for solution, on return the solution. If
Ahas dimensionm x n, thenxmust have lengthn. If no good initial estimate is available, user should set the initial guess to be the zero vector. - Preconditioner:
The preconditioner to apply.