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