Convergence Test<T> Class
Represents a convergence test for a IterativeAlgorithm<T>.
Definition
Namespace: Numerics.NET.Algorithms
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public abstract class ConvergenceTest<T>
- Inheritance
- Object → ConvergenceTest<T>
- Derived
Type Parameters
- T
Remarks
Use the ConvergenceTest<T> class as the base class for a class that implements a convergence test for an algorithm or group of algorithms.
ConvergenceTest<T> is an abstract class and cannot be instantiated directly. Instead, derive your own class from ConvergenceTest<T>, or use one of the following derived classes:
Class | Description |
---|---|
SimpleConvergenceTest | A convergence test that tests the value of a quantity. |
VectorConvergenceTest | A convergence test that tests the size of a vector. |
ConvergenceTestCollection | A convergence test that combines one or more convergence tests. |
Note to inheritors: You must override the TestConvergence(Boolean) method.
Constructors
Convergence | Initializes a new instance of the ConvergenceTest<T> class |
Properties
Absolute | Gets or sets the absolute tolerance used in the convergence test. |
Convergence | Gets or sets a value specifying the criterion that is to be used in the convergence test for the algorithm. |
Enabled | Gets or sets whether a ConvergenceTest<T> is enabled. |
Error | Gets the estimated error associated with the convergence test. |
Relative | Gets or sets the relative tolerance used in the convergence test. |
Required | Gets or sets a value that indicates the number of times the test criteria must be fulfilled before the test is considered successful. |
Run | Gets or sets whether the convergence test should be run before the first actual iteration. |
Tolerance | Gets or sets the tolerance used in the convergence test. |
Methods
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
Test | Performs the convergence test. |
Test | Performs the convergence test. |
ToString | Returns a string that represents the current object. (Inherited from Object) |