Symmetric Successive Over Relaxation Preconditioner<T> Constructor
Definition
Namespace: Numerics.NET.LinearAlgebra.IterativeSolvers.Preconditioners
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
Overload List
| Symmetric | Constructs an SSOR preconditioner with explicit relaxation and ordering. |
| Symmetric | Constructs an SSOR preconditioner with explicit relaxation and ordering. |
SymmetricSuccessiveOverRelaxationPreconditioner<T>(SparseMatrix<T>)
Constructs an SSOR preconditioner with explicit relaxation and ordering.
public SymmetricSuccessiveOverRelaxationPreconditioner(
SparseMatrix<T> matrix
)Parameters
- matrix SparseMatrix<T>
- A square sparse matrix with finite Hermitian logical coefficients and strictly positive real diagonal entries. General, symmetric, Hermitian and diagonal structures are supported.
Remarks
Uses symmetric Gauss-Seidel with natural ordering.
Exceptions
| Argument | matrix is null. |
| Dimension | The matrix is not square or the ordering has the wrong length. |
| Argument | The relaxation factor is outside its valid range. |
| Argument | The matrix is unsupported or non-Hermitian, the ordering is invalid, or a nonzero normalized coefficient or application scale is unrepresentable. |
| Matrix | A diagonal entry is missing or nonpositive. |
SymmetricSuccessiveOverRelaxationPreconditioner<T>(SparseMatrix<T>, T, Permutation)
Constructs an SSOR preconditioner with explicit relaxation and ordering.
public SymmetricSuccessiveOverRelaxationPreconditioner(
SparseMatrix<T> matrix,
T relaxationFactor,
Permutation? ordering = null
)Parameters
- matrix SparseMatrix<T>
- A square sparse matrix with finite Hermitian logical coefficients and strictly positive real diagonal entries. General, symmetric, Hermitian and diagonal structures are supported.
- relaxationFactor T
- A finite real value strictly between zero and two.
- ordering Permutation (Optional)
- An optional copied permutation mapping factor coordinates to original coordinates. The same ordering is applied to rows and columns. Null uses natural ordering.
Exceptions
| Argument | matrix is null. |
| Dimension | The matrix is not square or the ordering has the wrong length. |
| Argument | The relaxation factor is outside its valid range. |
| Argument | The matrix is unsupported or non-Hermitian, the ordering is invalid, or a nonzero normalized coefficient or application scale is unrepresentable. |
| Matrix | A diagonal entry is missing or nonpositive. |