Click or drag to resize

GoldenMinimizer(Double, Int32) Constructor

Constructs a GoldenMinimizer instance with the given error tolerance and maximum number of iterations.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public GoldenMinimizer(
	double tolerance,
	int maxIterations
)

Parameters

tolerance  Double
The error tolerance.
maxIterations  Int32
The maximum number of iterations.
Remarks
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