Convergence Test Collection<T> Class
Represents a collection of convergence tests for an 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 sealed class ConvergenceTestCollection<T> : ConvergenceTest<T>,
ICollection, IEnumerable, ICollection<ConvergenceTest<T>>, IEnumerable<ConvergenceTest<T>>
- Inheritance
- Object → ConvergenceTest<T> → ConvergenceTestCollection<T>
- Implements
- ICollection<ConvergenceTest<T>>, IEnumerable<ConvergenceTest<T>>, ICollection, IEnumerable
Type Parameters
- T
Remarks
Use the ConvergenceTestCollection<T> to specify a convergence test that consists of several criteria. Depending on the value of the Quantifier property, the test succeeds if any one of the member tests succeed, or only if all of the tests succeed. Only tests whose Enabled property is true are included in the test.
Constructors
Convergence | Constructs a new ConvergenceTestCollection<T>. |
Convergence | Constructs a new ConvergenceTestCollection<T>. |
Convergence | Constructs a new ConvergenceTestCollection<T>. |
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>) |
Count | Gets the number of tests in the ConvergenceTestCollection<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>) |
IsRead | Gets whether the ConvergenceTestCollection<T> is read-only. |
Quantifier | Gets or sets a value that indicates how the tests in the collection are to be combined. |
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>) |
Methods
Add | Adds a ConvergenceTest<T> to the collection. |
Clear | Removes all tests in the collection. |
Contains | Determines whether the ConvergenceTestCollection<T> contains a specific item. |
Copy | Copies the members of the collection to the specified array. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get | Gets an IEnumerator object that can iterate over the tests in the collection. |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Remove | Removes the first occurrence of the specified item from the ConvergenceTestCollection<T>. |
Test |
Performs the convergence test.
(Inherited from ConvergenceTest<T>) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
Group<ConvergenceTest<T>> |
Returns a grouping by the unique elements in a sequence.
(Defined by Grouping) |
Group<ConvergenceTest<T>> |
Returns a grouping by the unique elements in a sequence
using the specified comparer to determine equality.
(Defined by Grouping) |
Standard |
Returns the standard deviation of the elements of a sequence.
(Defined by Stats) |
Sum<ConvergenceTest<T>> |
Computes the sum of the sequence of values.
(Defined by ArrayMath) |
Sum<ConvergenceTest<T>, U> |
Computes the sum of the sequence of values that are obtained
by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath) |
Sum<ConvergenceTest<T>, T2, U> |
Computes the sum of the sequence of values that are obtained
by invoking a transform function on each pair of elements of
the input sequences.
(Defined by ArrayMath) |