Constructs a DownhillSimplexMinimizer instance with the given maximum number of
iterations.
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DownhillSimplexMinimizer( int maxIterations ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ maxIterations As Integer _ ) |
| Visual C++ |
|---|
public: DownhillSimplexMinimizer( int maxIterations ) |
Parameters
- maxIterations
- Type: System..::.Int32
The maximum number of iterations.
Remarks
The default error tolerance is used.
Iteration stops when either the decrease in function value 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.