 | VariableMetricMinimizer(Double, Int32) Constructor |
Constructs a GoldenMinimizer instance with the given maximum number of
iterations.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic VariableMetricMinimizer(
double tolerance,
int maxIterations
)
Public Sub New (
tolerance As Double,
maxIterations As Integer
)
public:
VariableMetricMinimizer(
double tolerance,
int maxIterations
)
new :
tolerance : float *
maxIterations : int -> VariableMetricMinimizer
Parameters
- tolerance Double
- The error tolerance.
- maxIterations Int32
- The maximum number of iterations.
Remarks
The default error tolerance is used.
Iteration stops when either the estimated error is less
than the tolerance, or the maximum number of iterations is reached.
Setting the error tolerance to less than zero ensures that the maximum number
of iterations is always reached.
See Also