SparseSolverTransformation<T> Class

Represents a sparse permutation and positive diagonal scaling of a linear system.

Definition

Namespace: Numerics.NET.LinearAlgebra.IterativeSolvers
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public sealed class SparseSolverTransformation<T>
Inheritance
Object  →  SparseSolverTransformation<T>

Type Parameters

T
The real or complex floating-point scalar type.

Remarks

For original-coordinate factors R and C and ordering p, the owned matrix snapshot is B[k,l] = R[p[k]] A[p[k],p[l]] C[p[l]]. The source matrix is not modified. Recreate the transformation after source coefficient or structure changes. The exposed matrix can be modified independently.

Directly solving B uses a different residual scale: check restored solutions against the original equations. Alternatively, use CreatePreconditioner(Preconditioner<T>) with a factor of B and solve the original system, retaining its residual tests.

Properties

ColumnScalingGets an independent copy of the positive column factors in original coordinates.
OrderGets the order of the square transformed system.
OrderingGets an independent copy of the permutation mapping new coordinates to original coordinates.
RowScalingGets an independent copy of the positive row factors in original coordinates.
TransformedMatrixGets the owned, independently mutable sparse matrix snapshot in transformed coordinates.

Methods

CreateCreates a permutation-only snapshot of a sparse linear system.
CreatePreconditionerMaps a preconditioner for the transformed matrix back to the original system.
CreateRowColumnEquilibrationCreates a sparse system snapshot equilibrated by row and column maximum magnitudes.
CreateSymmetricEquilibrationCreates a Hermitian-preserving, symmetrically equilibrated sparse system snapshot.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
RestoreSolutionRestores a transformed solution to original coordinates as C P^T y.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TransformInitialGuessMaps an original initial guess to transformed coordinates as P C^-1 x.
TransformRightHandSideMaps an original right-hand side to transformed coordinates as P R b.

See Also