Absolute convergence criteria.
Inheritance HierarchySystemObject
Accord.MathAbsoluteConvergence
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntaxpublic class AbsoluteConvergence : ISingleValueConvergence, IConvergence<double>, IConvergence
Public Class AbsoluteConvergence Implements ISingleValueConvergence, IConvergence(Of Double), IConvergenceRequest Example View Source
The AbsoluteConvergence type exposes the following members.
Constructors Properties Name Description CurrentIterationGets or sets the current iteration number.
HasConvergedGets whether the algorithm has converged.
Iterations Obsolete.Please use MaxIterations instead.
MaxIterationsGets or sets the maximum number of iterations performed by the iterative algorithm. Default is 100.
NewValueGets or sets the watched value after the iteration.
OldValueGets the watched value before the iteration.
ToleranceGets or sets the maximum change in the watched value after an iteration of the algorithm used to detect convergence. Default is 0.
Top Methods Name Description ClearClears this instance.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object.) FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.) GetHashCodeServes as the default hash function.
(Inherited from Object.) GetTypeGets the Type of the current instance.
(Inherited from Object.) MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object.) ToStringReturns a string that represents the current object.
(Inherited from Object.) Top Extension Methods Name Description HasMethodChecks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) IsEqualCompares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.) To(Type) Overloaded.Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) ToT Overloaded.Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) Top RemarksThis class can be used to track progress and convergence of methods which rely on the absolute change of a value.
Examplesvar criteria = new AbsoluteConvergence(iterations: 10, tolerance: 0.1); int progress = 1; do { criteria.NewValue = 12345.6 / progress++; } while (!criteria.HasConverged); int iterations = criteria.CurrentIteration; double value = criteria.OldValue;See Also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4