| BrentMinimizer(Double, Int32) Constructor |
Constructs a BrentMinimizer instance with the given error
tolerance and maximum number of iterations.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public BrentMinimizer(
double tolerance,
int maxIterations
)
Public Sub New (
tolerance As Double,
maxIterations As Integer
)
public:
BrentMinimizer(
double tolerance,
int maxIterations
)
new :
tolerance : float *
maxIterations : int -> BrentMinimizer
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