Simple Convergence Test<T>.Test Convergence Core Method
Returns whether the convergence conditions have been met.
Definition
Namespace: Extreme.Mathematics.Algorithms
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
An AlgorithmStatus value.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
protected override AlgorithmStatus TestConvergenceCore(
bool beforeFirstIteration
)
Parameters
- beforeFirstIteration Boolean
Return Value
AlgorithmStatusAn AlgorithmStatus value.
Remarks
A value of Converged indicates that the test was successful. Unless there are other tests that must succeed, this indicates that the algorithm can terminate successfully. A value of Busy indicates that the test failed and the algorithm should continue. Any other value indicates some kind of error condition, and the algorithm should terminate.