Contents

SparseSolve(_:_:_:_:)

Solve Ax=b using the specified iterative method for complex double values.

Declaration

func SparseSolve(_ method: SparseIterativeMethod, _ A: SparseMatrix_Complex_Double, _ b: DenseVector_Complex_Double, _ x: DenseVector_Complex_Double) -> SparseIterativeStatus_t

Parameters

  • method:

    (Input) Iterative method specification, eg return value of SparseConjugateGradient().

  • A:

    (Input) The matrix A to solve the system for. Only used for multiplication by A or A^T.

  • b:

    The right-hand side b to solve for. If A has dimension m x n, then b must have length m.

  • x:

    On entry, initial guess for solution, on return the solution. If A has dimension m x n, then x must have length n. If no good initial estimate is available, user should set the initial guess to be the zero vector.

See Also

Iterative sparse solve functions for complex matrices