Jacobi 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
| Jacobi | Constructs a Jacobi preconditioner with an optional diagonal magnitude floor. |
| Jacobi | Constructs a Jacobi preconditioner with an optional diagonal magnitude floor. |
JacobiPreconditioner<T>(Matrix<T>)
Constructs a Jacobi preconditioner with an optional diagonal magnitude floor.
public JacobiPreconditioner(
Matrix<T> matrix
)Parameters
Exceptions
| Argument | matrix is null. |
| Dimension | matrix is not square. |
| Argument | The floor is not a finite nonnegative real value. |
| Argument | A diagonal entry or its reciprocal is nonfinite. |
JacobiPreconditioner<T>(Matrix<T>, T)
Constructs a Jacobi preconditioner with an optional diagonal magnitude floor.
public JacobiPreconditioner(
Matrix<T> matrix,
T minimumDiagonalMagnitude
)Parameters
- matrix Matrix<T>
- A non-null square matrix.
- minimumDiagonalMagnitude T
- A finite nonnegative real value. Zero retains the identity fallback for exact-zero diagonal entries. A positive value floors diagonal magnitudes, preserving the phase of nonzero entries and assigning the positive floor to exact zeros.
Exceptions
| Argument | matrix is null. |
| Dimension | matrix is not square. |
| Argument | The floor is not a finite nonnegative real value. |
| Argument | A diagonal entry or its reciprocal is nonfinite. |