Sparse Solver Transformation<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#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
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
| Column | Gets an independent copy of the positive column factors in original coordinates. |
| Order | Gets the order of the square transformed system. |
| Ordering | Gets an independent copy of the permutation mapping new coordinates to original coordinates. |
| Row | Gets an independent copy of the positive row factors in original coordinates. |
| Transformed | Gets the owned, independently mutable sparse matrix snapshot in transformed coordinates. |
Methods
| Create | Creates a permutation-only snapshot of a sparse linear system. |
| Create | Maps a preconditioner for the transformed matrix back to the original system. |
| Create | Creates a sparse system snapshot equilibrated by row and column maximum magnitudes. |
| Create | Creates a Hermitian-preserving, symmetrically equilibrated sparse system snapshot. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Get | Serves as the default hash function. (Inherited from Object) |
| Get | Gets the Type of the current instance. (Inherited from Object) |
| Restore | Restores a transformed solution to original coordinates as C P^T y. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Transform | Maps an original initial guess to transformed coordinates as P C^-1 x. |
| Transform | Maps an original right-hand side to transformed coordinates as P R b. |