RootBracketingSolver.TestConvergence Method

Definition

Namespace: Numerics.NET.EquationSolvers
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.4

Overload List

TestConvergence() Checks whether the algorithm has converged.
TestConvergence(Double, Double) Tests whether the specified value and function value should cause the algorithm to terminate.

TestConvergence(Double, Double)

Tests whether the specified value and function value should cause the algorithm to terminate.
C#
protected bool TestConvergence(
	double x,
	double functionValue
)

Parameters

x  Double
The potential root to test.
functionValue  Double
The function value at x

Return Value

Boolean
true if the algorithm should terminate; otherwise false.

See Also