Function

SparseSolve

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

Declaration

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.

See Also

Vector Iterative Sparse Solve with Preconditioner

SparseSolve

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

SparseSolve

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

SparseSolve

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