Click or drag to resize
Accord.NET (logo)

RelativeConvergence Constructor (Int32, Double)

Initializes a new instance of the RelativeConvergence class.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public RelativeConvergence(
	int iterations,
	double tolerance
)
Request Example View Source

Parameters

iterations
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 100.
tolerance
Type: SystemDouble
The maximum relative change in the watched value after an iteration of the algorithm used to detect convergence. Default is 0.
See Also