Click or drag to resize
Accord.NET (logo)

RelativeConvergence Constructor (Int32, Double, Int32)

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,
	int checks
)
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 0.
tolerance
Type: SystemDouble
The maximum relative change in the watched value after an iteration of the algorithm used to detect convergence. Default is 0.
checks
Type: SystemInt32
The minimum number of convergence checks that the iterative algorithm should pass before convergence can be declared reached.
See Also