Simple Convergence Test<T> Class
Represents a convergence test.
Definition
Namespace: Numerics.NET.Algorithms
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public class SimpleConvergenceTest<T> : ConvergenceTest<T>
- Inheritance
- Object → ConvergenceTest<T> → SimpleConvergenceTest<T>
- Derived
Type Parameters
- T
Remarks
Use the SimpleConvergenceTest<T> class as a convergence test based on whether a value is sufficiently close to another value, or to zero.
Constructors
Simple | Constructs a new SimpleConvergenceTest<T> object. |
Simple | Constructs a new SimpleConvergenceTest<T> object. |
Simple | Constructs a new SimpleConvergenceTest<T> object. |
Properties
Absolute |
Gets or sets the absolute tolerance used in the
convergence test.
(Inherited from ConvergenceTest<T>) |
Convergence |
Gets or sets a value specifying the criterion that is
to be used in the convergence test for the algorithm.
(Inherited from ConvergenceTest<T>) |
Enabled |
Gets or sets whether a ConvergenceTest<T> is enabled.
(Inherited from ConvergenceTest<T>) |
Error |
Gets the estimated error associated with the convergence test.
(Inherited from ConvergenceTest<T>) |
Error | Gets or sets a delegate that evaluates the error estimate. |
Relative |
Gets or sets the relative tolerance used in the
convergence test.
(Inherited from ConvergenceTest<T>) |
Required |
Gets or sets a value that indicates the number of times the test criteria must be fulfilled
before the test is considered successful.
(Inherited from ConvergenceTest<T>) |
Run |
Gets or sets whether the convergence test should be run
before the first actual iteration.
(Inherited from ConvergenceTest<T>) |
Tolerance |
Gets or sets the tolerance used in the convergence test.
(Inherited from ConvergenceTest<T>) |
Value | Gets the value used in the computation of the relative error. |
Value | Gets or sets a delegate that evaluates the value. |
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.
(Inherited from ConvergenceTest<T>) |
Test |
Returns whether the convergence conditions have been met.
(Overrides ConvergenceTest<T>.TestConvergenceCore(Boolean)) |
ToString | Returns a string that represents the current object. (Inherited from Object) |