|
RelativeConvergence Constructor (Int32, Double, Int32, Double)
|
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public RelativeConvergence(
int iterations = 100,
double tolerance = 0,
int checks = 1,
double startValue = 0
)
Public Sub New (
Optional iterations As Integer = 100,
Optional tolerance As Double = 0,
Optional checks As Integer = 1,
Optional startValue As Double = 0
)
Request Example
View SourceParameters
- 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