SuccessiveOverRelaxationSolver<T> Constructor

Definition

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

Overload List

SuccessiveOverRelaxationSolver<T>(LinearOperator<T>) Constructs a new iterative sparse solver object.
SuccessiveOverRelaxationSolver<T>(LinearOperator<T>, T) Constructs a new iterative sparse solver object.

SuccessiveOverRelaxationSolver<T>(LinearOperator<T>)

Constructs a new iterative sparse solver object.
C#
public SuccessiveOverRelaxationSolver(
	LinearOperator<T> linearOperator
)

Parameters

linearOperator  LinearOperator<T>
A linear operator.

SuccessiveOverRelaxationSolver<T>(LinearOperator<T>, T)

Constructs a new iterative sparse solver object.
C#
public SuccessiveOverRelaxationSolver(
	LinearOperator<T> linearOperator,
	T relaxationFactor
)

Parameters

linearOperator  LinearOperator<T>
A linear operator.
relaxationFactor  T
The over-relaxation factor, which must be strictly between 0 and 2.

Exceptions

ArgumentOutOfRangeException

relaxationFactor is less than or equal to zero, or greater than or equal to two.

See Also