Function

SparseSolve(_:_:_:_:_:)

Solves the equation Ax = b for vectors of double-precision values using the specified iterative method and preconditioner.

Parameters

`method`

The iterative method to use, e.g. `SparseConjugateGradient()`.

`A`

The matrix A.

`b`

The vector b.

`x`

The vector x.

`Preconditioner`

Preconditioner to apply.

Return Value

An `SparseIterativeStatus_t` enumeration representing the status of the iterative solve.

Vector Iterative Sparse Solve with Preconditioner

`func SparseSolve(SparseIterativeMethod, SparseMatrix_Float, DenseVector_Float, DenseVector_Float, SparsePreconditioner_t) -> SparseIterativeStatus_t`

Solves the equation Ax = b for vectors of single-precision values using the specified iterative method and preconditioner.

`func SparseSolve(SparseIterativeMethod, SparseMatrix_Double, DenseVector_Double, DenseVector_Double, SparseOpaquePreconditioner_Double) -> SparseIterativeStatus_t`

Solves the equation Ax = b for vectors of double-precision values using the specified iterative method and preconditioner with apply operator block.

`func SparseSolve(SparseIterativeMethod, SparseMatrix_Float, DenseVector_Float, DenseVector_Float, SparseOpaquePreconditioner_Float) -> SparseIterativeStatus_t`

Solves the equation Ax = b for vectors of single-precision values using the specified iterative method and preconditioner with apply operator block.

`func SparseSolve(SparseIterativeMethod, (Bool, CBLAS_TRANSPOSE, DenseVector_Double, DenseVector_Double) -> Void, DenseVector_Double, DenseVector_Double, SparseOpaquePreconditioner_Double) -> SparseIterativeStatus_t`

Solves the equation Ax = b for vectors of double-precision values, treating A as an operator and using the specified iterative method and preconditioner.

`func SparseSolve(SparseIterativeMethod, (Bool, CBLAS_TRANSPOSE, DenseVector_Float, DenseVector_Float) -> Void, DenseVector_Float, DenseVector_Float, SparseOpaquePreconditioner_Float) -> SparseIterativeStatus_t`

Solves the equation Ax = b for vectors of single-precision values, treating A as an operator and using the specified iterative method and preconditioner.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.