Click or drag to resize
Accord.NET (logo)

RelativeConvergence Constructor (Int32, Double, Int32, Double)

Initializes a new instance of the RelativeConvergence class.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
public RelativeConvergence(
	int iterations = 100,
	double tolerance = 0,
	int checks = 1,
	double startValue = 0
Request Example View Source


iterations (Optional)
Type: SystemInt32
The maximum number of iterations which should be performed by the iterative algorithm. Setting to zero indicates there is no maximum number of iterations. Default is 0.
tolerance (Optional)
Type: SystemDouble
The maximum relative change in the watched value after an iteration of the algorithm used to detect convergence. Default is 0.
checks (Optional)
Type: SystemInt32
The minimum number of convergence checks that the iterative algorithm should pass before convergence can be declared reached.
startValue (Optional)
Type: SystemDouble
The initial value for the NewValue and OldValue properties.
See Also