Convergence Test<T>.Relative Tolerance Property
Gets or sets the relative tolerance used in the
convergence test.
Definition
Namespace: Numerics.NET.Algorithms
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A real number greater than or equal to zero.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public T RelativeTolerance { get; set; }
Property Value
TA real number greater than or equal to zero.
Remarks
The relative error is the ratio of the absolute value of the difference between the computed and the actual result to the absolute value of the result. The relative tolerance specifies the largest value of the ratio that is allowed.
This property is ignored when ConvergenceCriterion is equal to WithinAbsoluteTolerance.
Exceptions
Argument | The specified tolerance is less than zero or equal to NaN. |