AlgorithmHelper Class

Contains general methods that support several algorithm implementations.

Definition

Namespace: Numerics.NET.Algorithms
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public static class AlgorithmHelper
Inheritance
Object  →  AlgorithmHelper

Remarks

This class provides several static methods that are useful in implementing numerical algorithms. If a class inherits from IterativeAlgorithm<T>, the methods in this class may be useful.

At present, there are just two methods for convergence testing.

Methods

IsIntervalWithinTolerance Determines whether an interval is within an algorithm's requested tolerance.
IsValueWithinTolerance(IterativeAlgorithm<Double>, Double, Double) Determines whether a value is within an algorithm's requested tolerance.
IsValueWithinTolerance<T>(IterativeAlgorithm<T>, T, T) Returns whether an error is within the required tolerance.

See Also