JacobiPreconditioner<T> Constructor

Definition

Namespace: Numerics.NET.LinearAlgebra.IterativeSolvers.Preconditioners
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0

Overload List

JacobiPreconditioner<T>(Matrix<T>)Constructs a Jacobi preconditioner with an optional diagonal magnitude floor.
JacobiPreconditioner<T>(Matrix<T>, T)Constructs a Jacobi preconditioner with an optional diagonal magnitude floor.

JacobiPreconditioner<T>(Matrix<T>)

Constructs a Jacobi preconditioner with an optional diagonal magnitude floor.
C#
public JacobiPreconditioner(
	Matrix<T> matrix
)

Parameters

matrix  Matrix<T>
A non-null square matrix.

Exceptions

ArgumentNullExceptionmatrix is null.
DimensionMismatchExceptionmatrix is not square.
ArgumentOutOfRangeExceptionThe floor is not a finite nonnegative real value.
ArgumentExceptionA diagonal entry or its reciprocal is nonfinite.

JacobiPreconditioner<T>(Matrix<T>, T)

Constructs a Jacobi preconditioner with an optional diagonal magnitude floor.
C#
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

ArgumentNullExceptionmatrix is null.
DimensionMismatchExceptionmatrix is not square.
ArgumentOutOfRangeExceptionThe floor is not a finite nonnegative real value.
ArgumentExceptionA diagonal entry or its reciprocal is nonfinite.

See Also