SparseSolverTransformation<T>.CreatePreconditioner Method

Maps a preconditioner for the transformed matrix back to the original system.

Definition

Namespace: Numerics.NET.LinearAlgebra.IterativeSolvers
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public Preconditioner<T> CreatePreconditioner(
	Preconditioner<T> transformedPreconditioner
)

Parameters

transformedPreconditioner  Preconditioner<T>
A preconditioner of order Order, usually constructed from TransformedMatrix.

Return Value

Preconditioner<T>
An original-coordinate preconditioner applying C P^T M^-1 P R.

Remarks

Use the returned preconditioner with a solver of the original matrix to preserve its residual criterion. Transpose and adjoint applications swap the row/column factors. Symmetric scaling preserves a Hermitian positive definite factor's suitability for CG/MINRES. Independent row/column scaling generally requires a general solver. The wrapped factor controls concurrent-application and refresh behavior; the adapter has no shared mutable application workspace.

Exceptions

ArgumentNullExceptiontransformedPreconditioner is null.
DimensionMismatchExceptionThe factor order is incorrect or the original matrix was resized.

See Also